Created
May 15, 2023 16:23
-
-
Save mofax/0232979a185a105d3e14e2d2c1f47b66 to your computer and use it in GitHub Desktop.
simple css reset
This file contains hidden or 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
*, | |
*::before, | |
*::after { | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
font-size: 1.4rem; | |
line-height: 1.5; | |
} | |
html { | |
font-size: 10px; | |
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Arial, sans-serif; | |
} | |
a { | |
text-decoration: none; | |
} | |
img { | |
display: block; | |
max-width: 100%; | |
height: auto; | |
} | |
ul, | |
ol { | |
list-style: none; | |
} | |
blockquote { | |
margin: 0 0 1em 0; | |
padding: 0 0 0 1em; | |
} | |
q { | |
quotes: none; | |
} | |
q:before, | |
q:after { | |
content: ""; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment