+ 5
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 .
3 Respostas
+ 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
+ 1
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.