Skip to content

Instantly share code, notes, and snippets.

@kripod
Last active January 28, 2022 21:09
Show Gist options
  • Save kripod/7c1d03ccd437052b844e3a956ff21b1d to your computer and use it in GitHub Desktop.
Save kripod/7c1d03ccd437052b844e3a956ff21b1d to your computer and use it in GitHub Desktop.
modern-reset.css
/**
* Based on the differences between UA sheets.
* Selectors are chunked in ordered groups for better compression (e.g. gzip).
*/
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
dl,
dd,
figure,
pre,
button, /* Only for Safari */
input, /* Only for Safari */
select, /* Only for Safari */
textarea, /* Only for Safari */
hr,
fieldset, /* Only for Safari and Chrome */
ul,
ol,
menu {
margin: 0;
}
th,
td,
legend,
fieldset,
ul,
ol,
menu {
padding: 0;
}
hr,
fieldset,
iframe {
border: 0;
}
body {
line-height: 1;
}
h1,
h2,
h3,
h4,
h5,
h6,
th,
address {
font: inherit; /* font-size, font-weight, font-style */
}
ul,
ol,
menu {
list-style: none; /* list-style-type */
}
table {
border-spacing: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment