Scroll indicator

JADE
img.scroll-indicator(src="https://s15.postimg.org/9wnjdjuff/Ic_arrow.png")
SCSS
$purple: #3C2F3D; html { background-color: $purple; height: 100%; } .scroll-indicator { animation: bounce 1s infinite; position: absolute; left: 50%; transform: translate(-50%, -50%); } @keyframes bounce { 0% { bottom: 55px; } 50% { bottom: 65px; } 100% { bottom: 55px; } }
JAVASCRIPT
Expand for more options Login