Created
April 5, 2017 10:47
-
-
Save bultas/59258044e6561aab73393ef61fdbacec to your computer and use it in GitHub Desktop.
minimalistic CSS Normalize
This file contains hidden or 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 { | |
-ms-text-size-adjust: 100%; | |
-webkit-text-size-adjust: 100%; | |
} | |
body { | |
margin: 0; | |
font: 16px/1 sans-serif; | |
-moz-osx-font-smoothing: grayscale; | |
-webkit-font-smoothing: antialiased; | |
} | |
h1, | |
h2, | |
h3, | |
h4, | |
p, | |
blockquote, | |
figure, | |
ol, | |
ul { | |
margin: 0; | |
padding: 0; | |
} | |
main, | |
li { | |
display: block; | |
} | |
h1, | |
h2, | |
h3, | |
h4 { | |
font-size: inherit; | |
} | |
strong { | |
font-weight: bold; | |
} | |
a, | |
button { | |
color: inherit; | |
transition: .3s; | |
} | |
a { | |
text-decoration: none; | |
} | |
button { | |
overflow: visible; | |
border: 0; | |
font: inherit; | |
-webkit-font-smoothing: inherit; | |
letter-spacing: inherit; | |
background: none; | |
cursor: pointer; | |
} | |
::-moz-focus-inner { | |
padding: 0; | |
border: 0; | |
} | |
:focus { | |
outline: 0; | |
} | |
img { | |
max-width: 100%; | |
height: auto; | |
border: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment