Created
March 7, 2022 17:09
-
-
Save yaralahruthik/1d8250b4d8ec00d791821ab020ad80ce to your computer and use it in GitHub Desktop.
simple reset with 10x simplification
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
/* 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