Skip to content

Instantly share code, notes, and snippets.

@PDXIII
Last active April 4, 2023 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PDXIII/8a20711b6ce12061b0bad1bf4403a8c1 to your computer and use it in GitHub Desktop.
Save PDXIII/8a20711b6ce12061b0bad1bf4403a8c1 to your computer and use it in GitHub Desktop.
Very basic and simple reset CSS.
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;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
/* END of reset */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment