Site icon Cody Paste

Move Element / Div on Scroll – Data Scroll Speed

jQuery different scroll speeds on scroll, set different scroll speed to element.

data-scroll-speed

https://codepen.io/vipulrai/pen/vvoREM

HTML:

CSS:

JS

 

Exit mobile version