Why are not <HTML> and <BODY> tags taking 100% height of the window?

Why are not <HTML> and <BODY> tags taking 100% height of the window?
0

#1

I have this page https://bit.ly/2q87kgv . I would like to implement some window.scroll events. The problem is that both HTML and BODY tags are not even taking 100% of the window height. I tried to look into Chrome Dev Tools to figure out why is that so but I couldn’t find the issue.
Can You please look at that page and tell me what is wrong with the height of HTML and BODY tags ?

Thanks


#2

You’ve set the html height to 100%, but the content goes over 100%. Instead of setting the height, use min-height: 100%.


#3

thank u very much. It helped.