Created
May 15, 2011 16:47
-
-
Save terkel/973293 to your computer and use it in GitHub Desktop.
CSS Reset
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
* { | |
padding: 0; | |
margin: 0; | |
} | |
html { | |
overflow-y: scroll; | |
font: small; /* for IE6 in quirks mode */ | |
} | |
body { | |
font-size: 100%; | |
background-color: white; | |
color: black; | |
} | |
section, | |
nav, | |
article, | |
aside, | |
hgroup, | |
header, | |
footer, | |
figure, | |
figcaption, | |
details, | |
menu { | |
display: block; | |
} | |
h1, | |
h2, | |
h3, | |
h4, | |
h5, | |
h6 { | |
font-size: 100%; | |
font-weight: normal; | |
} | |
pre { | |
font-family: inherit; | |
white-space: pre-wrap; | |
word-wrap: break-word; | |
} | |
li { | |
list-style: none; | |
} | |
address, | |
caption, | |
cite, | |
code, | |
dfn, | |
em, | |
strong, | |
th, | |
var { | |
font-style: normal; | |
font-weight: normal; | |
} | |
q:before, | |
q:after { | |
content: ""; | |
} | |
sub { | |
line-height: 1; | |
vertical-align: text-bottom; | |
} | |
sup { | |
line-height: 1; | |
vertical-align: text-top; | |
} | |
br { | |
letter-spacing: 0; /* for IE7 and 6 */ | |
} | |
img { | |
max-width: 100%; | |
border: 0; | |
vertical-align: bottom; | |
-ms-interpolation-mode: bicubic; /* for IE7 */ | |
} | |
iframe, | |
embed, | |
object { | |
vertical-align: bottom; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
font: 100%; /* for IE6 in quirks mode */ | |
} | |
caption, | |
th { | |
text-align: left; | |
} | |
fieldset { | |
border: 0; | |
} | |
legend { | |
color: inherit; | |
} | |
input, | |
button, | |
select, | |
optgroup, | |
option, | |
textarea { | |
font-size: 100%; | |
line-height: inherit; | |
font-family: inherit; | |
color: inherit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment