Skip to content

Instantly share code, notes, and snippets.

@jessejputnam
Created December 21, 2022 11:45
Show Gist options
  • Save jessejputnam/d11d57d03e354d69bb020d104b6b777b to your computer and use it in GitHub Desktop.
Save jessejputnam/d11d57d03e354d69bb020d104b6b777b to your computer and use it in GitHub Desktop.
Very simple full CSS reset
/* 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