animation | SoloLearn: Learn to code for FREE!

+4

animation

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

C.code

4 Answers

New Answer

+2

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.

+2

yes you can do this by makeing that box sticky ,visit https://w3schools.com for it's demo

+2

Something like this? https://code.sololearn.com/WzU74DPcQrb1/?ref=app