Created
August 29, 2016 22:47
-
-
Save saintplay/fafb34bc7cbe4232f7f82398484ce27e to your computer and use it in GitHub Desktop.
Normalize.scss 2016 v.4.1.1 without comments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
font-family: sans-serif; | |
-ms-text-size-adjust: 100%; | |
-webkit-text-size-adjust: 100%; | |
} | |
body { | |
margin: 0; | |
} | |
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { | |
display: block; | |
} | |
audio, canvas, progress, video { | |
display: inline-block; | |
} | |
audio:not([controls]) { | |
display: none; | |
height: 0; | |
} | |
progress { | |
vertical-align: baseline; | |
} | |
template, [hidden] { | |
display: none; | |
} | |
a { | |
background-color: transparent; | |
-webkit-text-decoration-skip: objects; | |
&:active, &:hover { | |
outline-width: 0; | |
} | |
} | |
abbr[title] { | |
border-bottom: none; | |
text-decoration: underline; | |
text-decoration: underline dotted; | |
} | |
b, strong { | |
font-weight: inherit; | |
} | |
b, strong { | |
font-weight: bolder; | |
} | |
dfn { | |
font-style: italic; | |
} | |
h1 { | |
font-size: 2em; | |
margin: 0.67em 0; | |
} | |
mark { | |
background-color: #ff0; | |
color: #000; | |
} | |
small { | |
font-size: 80%; | |
} | |
sub, sup { | |
font-size: 75%; | |
line-height: 0; | |
position: relative; | |
vertical-align: baseline; | |
} | |
sub { | |
bottom: -0.25em; | |
} | |
sup { | |
top: -0.5em; | |
} | |
img { | |
border-style: none; | |
} | |
svg:not(:root) { | |
overflow: hidden; | |
} | |
code, kbd, pre, samp { | |
font-family: monospace, monospace; | |
font-size: 1em; | |
} | |
figure { | |
margin: 1em 40px; | |
} | |
hr { | |
box-sizing: content-box; | |
height: 0; | |
overflow: visible; | |
} | |
button, input, select, textarea { | |
font: inherit; | |
margin: 0; | |
} | |
optgroup { | |
font-weight: bold; | |
} | |
button, input { | |
overflow: visible; | |
} | |
button, select { | |
text-transform: none; | |
} | |
button, html [type="button"], [type="reset"], [type="submit"] { | |
-webkit-appearance: button; | |
} | |
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { | |
border-style: none; | |
padding: 0; | |
} | |
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { | |
outline: 1px dotted ButtonText; | |
} | |
fieldset { | |
border: 1px solid #c0c0c0; | |
margin: 0 2px; | |
padding: 0.35em 0.625em 0.75em; | |
} | |
legend { | |
box-sizing: border-box; | |
color: inherit; | |
display: table; | |
max-width: 100%; | |
padding: 0; | |
white-space: normal; | |
} | |
textarea { | |
overflow: auto; | |
} | |
[type="checkbox"], [type="radio"] { | |
box-sizing: border-box; | |
padding: 0; | |
} | |
[type="number"] { | |
&::-webkit-inner-spin-button, &::-webkit-outer-spin-button { | |
height: auto; | |
} | |
} | |
[type="search"] { | |
-webkit-appearance: textfield; | |
outline-offset: -2px; | |
&::-webkit-search-cancel-button, &::-webkit-search-decoration { | |
-webkit-appearance: none; | |
} | |
} | |
::-webkit-input-placeholder { | |
color: inherit; | |
opacity: 0.54; | |
} | |
::-webkit-file-upload-button { | |
-webkit-appearance: button; | |
font: inherit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment