Created
October 25, 2012 17:41
-
-
Save mateuszwrobel/3954243 to your computer and use it in GitHub Desktop.
CSS: YUI 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
/* | |
Copyright (c) 2011, Yahoo! Inc. All rights reserved. | |
Code licensed under the BSD License: | |
http://developer.yahoo.com/yui/license.html | |
version: 2.9.0 | |
*/ | |
/** | |
* YUI Reset | |
* @module reset | |
* @namespace | |
* @requires | |
*/ | |
html { | |
color: #000; | |
background: #FFF; | |
} | |
body, | |
div, | |
dl, | |
dt, | |
dd, | |
ul, | |
ol, | |
li, | |
h1, | |
h2, | |
h3, | |
h4, | |
h5, | |
h6, | |
pre, | |
code, | |
form, | |
fieldset, | |
legend, | |
input, | |
button, | |
textarea, | |
select, | |
p, | |
blockquote, | |
th, | |
td { | |
margin: 0; | |
padding: 0; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
fieldset, | |
img { | |
border: 0; | |
} | |
address, | |
button, | |
caption, | |
cite, | |
code, | |
dfn, | |
em, | |
input, | |
optgroup, | |
option, | |
select, | |
strong, | |
textarea, | |
th, | |
var { | |
font:inherit; | |
} | |
del, | |
ins { | |
text-decoration: none; | |
} | |
li { | |
list-style: none; | |
} | |
caption, | |
th { | |
text-align: left; | |
} | |
h1, | |
h2, | |
h3, | |
h4, | |
h5, | |
h6 { | |
font-size: 100%; | |
font-weight: normal; | |
} | |
q:before, | |
q:after { | |
content: ''; | |
} | |
abbr, | |
acronym { | |
border: 0; | |
font-variant: normal; | |
} | |
sup { | |
vertical-align: baseline; | |
} | |
sub { | |
vertical-align: baseline; | |
} | |
/*because legend doesn't inherit in IE */ | |
legend { | |
color: #000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment