I want to ensure that when scrolling, for example, on 100px
from above, the #nav
block #nav
fixed, or rather the .fixed
class is .fixed
. Well, and vice versa, if the scroll is less than 100px
on top, before we remove the class.
I kind of found a solution, but it is not quite right. Help pliz)