Skip to content

Instantly share code, notes, and snippets.

@panphora
Created October 28, 2021 02:13
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 panphora/0b848f5198c9fc9798ab3ec8a00dc3c6 to your computer and use it in GitHub Desktop.
Save panphora/0b848f5198c9fc9798ab3ec8a00dc3c6 to your computer and use it in GitHub Desktop.
/*
MIT License
David Miranda: Author of boxes.css
Jeremy Thomas: Author of minireset.css (github.com/jgthms/minireset.css)
Andy Bell and other contributors: Author of a modern CSS reset (https://github.com/andy-piccalilli/modern-css-reset)
*/
html {
box-sizing: border-box;
}
*, *::before, *::after {
box-sizing: inherit;
}
body {
min-height: 100vh;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
line-height: 1.5;
-webkit-font-smoothing: subpixel-antialiased;
-moz-osx-font-smoothing: grayscale;
}
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 100%;
font-weight: normal;
}
ul {
list-style: none;
}
button,
input,
select,
textarea {
margin: 0;
font: inherit;
}
img,
picture,
video {
display: block;
height: auto;
max-width: 100%;
}
iframe {
border: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment