Why isn't border-box working?
I thought box-sizing: border-box on * would cause height and width values to consider the margins and padding?
If I set html height to 100vh and width to 100vw, I thought that would make it take the full viewport but it overflows and causes horizontal and vertical scrollbars.
It only works without overflowing if I also set margin to 0 in * as well...
What am I not understanding? Thanks!
If I set html height to 100vh and width to 100vw, I thought that would make it take the full viewport but it overflows and causes horizontal and vertical scrollbars.
It only works without overflowing if I also set margin to 0 in * as well...
What am I not understanding? Thanks!
