Skip to content

Instantly share code, notes, and snippets.

@CyrusYip
Forked from FrankFang/cssreset.css
Created June 13, 2021 13:32
Show Gist options
  • Save CyrusYip/60dc98a2b487cfea0786eb409b2060b9 to your computer and use it in GitHub Desktop.
Save CyrusYip/60dc98a2b487cfea0786eb409b2060b9 to your computer and use it in GitHub Desktop.
css reset
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
*::before,
*::after {
box-sizing: border-box;
}
a {
color: inherit;
text-decoration: none;
}
input,
button {
font-family: inherit;
}
ol,
ul {
list-style: none;
}
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