Last active
May 10, 2018 09:56
-
-
Save tomgp/f82666a1987efc375a247479991a4b3c to your computer and use it in GitHub Desktop.
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, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dd, header, nav, article, section, | |
aside, figure, figcaption, footer, dl, dd, dt { | |
margin: 0px; | |
padding: 0px; | |
} | |
html { | |
// Hide persistent scrollbar in IE (10/11) and Edge | |
-ms-overflow-style: -ms-autohiding-scrollbar; | |
} | |
body { | |
text-rendering: optimizeLegibility; | |
} | |
ul, ol { | |
list-style: none; | |
} | |
img { | |
border: 0; | |
display: block; | |
max-width: 100%; | |
} | |
// Firefox input fix | |
input::-moz-focus-inner { | |
border: 0; | |
padding: 0; | |
} | |
// Normalise form field line-height in webkit browsers | |
input::-webkit-input-placeholder, | |
textarea::-webkit-input-placeholder, | |
select::-webkit-input-placeholder { | |
line-height: normal; | |
} | |
// Box sizing border box FTW! | |
*, *:before, *:after { | |
box-sizing: border-box; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment