Created
December 21, 2022 11:45
-
-
Save jessejputnam/d11d57d03e354d69bb020d104b6b777b to your computer and use it in GitHub Desktop.
Very simple full 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
/* Simplest CSS Reset */ | |
*, *::before, *::after { | |
box-sizing: border-box | |
} | |
* { | |
margin: 0; | |
padding: 0; | |
font: inherit; | |
} | |
html { | |
color-scheme: dark light; | |
} | |
body { | |
min-height: 100vh; | |
} | |
img, picture, svg, video { | |
display: block; | |
max-width: 100%; | |
} | |
input, textarea, button, select { | |
font: inherit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment