Skip to content

Instantly share code, notes, and snippets.

@yuanqing
Forked from fat/gist:3744369
Last active September 14, 2015 16:30
Show Gist options
  • Save yuanqing/8736cef5ca9c613f6eac to your computer and use it in GitHub Desktop.
Save yuanqing/8736cef5ca9c613f6eac to your computer and use it in GitHub Desktop.
all you probably really need
/*! normalize-all-you-really-need-tho.css v1.0.0 | MIT License */
html {
font-family: sans-serif; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
-ms-text-size-adjust: 100%; /* 2 */
}
body {
margin: 0;
}
h1 {
font-size: 2em;
}
code,
pre {
font-family: monospace, serif;
font-size: 1em;
}
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
small {
font-size: 80%;
}
button,
input,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 2 */
margin: 0; /* 3 */
}
textarea {
vertical-align: top;
}
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