animation | SoloLearn: Learn to code for FREE!



hy, guys I want to create an animation whereby when you scroll, a box by the side sticks to the top of the screen. I want to use HTML and CSS for it .

9/24/2018 7:57:53 AM


4 Answers

New Answer


Yo obviously need js because you need to attach a particular tag or element to a scroll event for it to stick at the top of the screen.


yes you can do this by makeing that box sticky ,visit for it's demo


Something like this?