Created
November 27, 2021 16:15
-
-
Save 1moita/9d648ad3cf9a45046b9329f42992fb89 to your computer and use it in GitHub Desktop.
modern css reset
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
*, *::before, *::after { | |
box-sizing: border-box; | |
} | |
* { | |
margin: 0; | |
} | |
html, body { | |
height: 100%; | |
} | |
body { | |
line-height: 1.5; | |
-webkit-font-smoothing: antialiased; | |
} | |
img, picture, video, canvas, svg { | |
display: block; | |
max-width: 100%; | |
} | |
input, button, textarea, select { | |
font: inherit; | |
} | |
p, h1, h2, h3, h4, h5, h6 { | |
overflow-wrap: break-word; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment