Created
December 16, 2022 12:11
-
-
Save borisdiakur/a31e4ce48e5769470bc3b00578a59af1 to your computer and use it in GitHub Desktop.
Make html and body fill the viewport
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:where(html) { | |
display: grid; | |
height: 100vh; | |
height: 100dvh; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment