Skip to content

Instantly share code, notes, and snippets.

@mofax
Created May 15, 2023 16:23
Show Gist options
  • Save mofax/0232979a185a105d3e14e2d2c1f47b66 to your computer and use it in GitHub Desktop.
Save mofax/0232979a185a105d3e14e2d2c1f47b66 to your computer and use it in GitHub Desktop.
simple css reset
*,
*::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