Created
January 16, 2024 16:27
-
-
Save doclaag/be6e43adef3a5a626b18fe9924d99f7b to your computer and use it in GitHub Desktop.
css-reset-2024.css
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
*{ | |
min-width: 0; | |
font:inherit; | |
} | |
*,*::before,*::after{ | |
box-sizing: border-box; | |
} | |
img,video,svg{ | |
display: block; | |
height: auto; | |
max-width: 100%; | |
} | |
body{ | |
margin: 0; | |
min-height: 100dvh; | |
} | |
h1,h2,h3,h4,h5,h6{ | |
text-wrap: balance; | |
} | |
p{ | |
text-wrap: pretty; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment