Skip to content

Instantly share code, notes, and snippets.

@pbaldwin
Created October 8, 2020 03:46
Show Gist options
  • Save pbaldwin/62aa4b414f2abb51352e40b8bfc1ee9e to your computer and use it in GitHub Desktop.
Save pbaldwin/62aa4b414f2abb51352e40b8bfc1ee9e to your computer and use it in GitHub Desktop.
Simple CSS Normalize
*, *:before, *:after {
/* This makes resetting box-size for individual components (or 3rd party components) easier */
box-sizing: inherit;
}
html {
box-sizing: border-box;
font-size: 16px;
}
html, body {
padding: 0;
margin: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment