Skip to content

Instantly share code, notes, and snippets.

@jasonleewilson
Last active November 20, 2021 08:01
Show Gist options
  • Save jasonleewilson/79fc748ff86fc7b1dcc69e439deaecaa to your computer and use it in GitHub Desktop.
Save jasonleewilson/79fc748ff86fc7b1dcc69e439deaecaa to your computer and use it in GitHub Desktop.
CSS - Reset 2021
html {
box-sizing: border-box;
font-size: 16px;
}
*, *:before, *:after {
box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
margin: 0;
padding: 0;
font-weight: normal;
}
ol, ul {
list-style: none;
}
img {
max-width: 100%;
height: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment