height 100% not working [CSS w HTML]
Why is my
height: 100%; not working?
but the div is not the full height of the page...
Can you show us the repl?
I think its not working because the div will take 100% of it's parent element, which is body, which will not take up the whole screen if it doesn't need to. (Your browser's inspect element should be helpful in this case)
You can set body and html to be 100% to fix this: