Answer the question
In order to leave comments, you need to log in
How to calculate the height of all content inside a fixed block?
The body is immediately followed by a < div class="wrapper" > that contains all of the content.
This wrapper with position: fixed.
The page will not scroll because of this.
We need to calculate the height of all the content to set the height of the .wrapper or body to make the page scroll.
PS: The wrapper needs a fixed position for further use of the ScrollMagic plugin. In general, it is necessary)
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