Skip to content

Instantly share code, notes, and snippets.

@yaralahruthik
Created March 7, 2022 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaralahruthik/1d8250b4d8ec00d791821ab020ad80ce to your computer and use it in GitHub Desktop.
Save yaralahruthik/1d8250b4d8ec00d791821ab020ad80ce to your computer and use it in GitHub Desktop.
simple reset with 10x simplification
/* Simple Reset */
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: inherit;
}
/* For rem size */
html {
font-size: 62.5%;
}
/* For width to not include padding and margin */
body {
box-sizing: border-box;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment