This happens when I resize my window. Anyone know how to make the html fill the browser window??
Asked
Active
Viewed 82 times
-5

AlxVallejo
- 3,066
- 6
- 50
- 74
-
`height: 100vh` – senojoeht Feb 26 '18 at 18:50
-
a bit of code snipped would be always helpful to debug any issues. – Sanket Patel Feb 26 '18 at 18:50
-
Is your `body` 100% height of the `html`? – Huangism Feb 26 '18 at 18:51
-
@Huangism Yes it is. – AlxVallejo Feb 26 '18 at 18:56
-
@senojoeht That doesn't do anything – AlxVallejo Feb 26 '18 at 18:56
-
2We need to see your code to reproduce the problem. – takendarkk Feb 26 '18 at 18:59
-
Well then you will need to post some code to reproduce the issue, maybe there is a max-height set somewhere or something, no way to tell like this – Huangism Feb 26 '18 at 18:59
1 Answers
0
Try height: 100vh
See documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/length

Boris Yakubchik
- 3,861
- 3
- 34
- 41