yoko yoko - 11 months ago 97
Sass (Sass) Question

Height 0 on Body

I always get height: 0 on the body, Why this happens?

Either I use height, min-height, etc.

enter image description here

Answer Source

Just use:


This will force the body to 100% viewport height regardless of the page contents.