mardi 23 octobre 2018

how to smoothly snap to anchors depending on scrolling speed

I'm developing a one page website. How can i smoothly (with easing) snap to my anchors if they are in a certain range to scrolltop(). Anchors should not be magnetic if scrolling is over a certain speed.




Aucun commentaire:

Enregistrer un commentaire