Answer the question
In order to leave comments, you need to log in
How to use affix at 100% height?
I want to implement sticky top navigation when scrolling the page.
data-offset-top="the height is set here in pixels, that's the problem" if you set the page height, for example 700px and set data-offset-top="700" then everything is gorgeous, but for me each section has a height of 100%
Question: How to implement this idea without giving up the height of the section as a percentage?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question