Created
December 25, 2013 09:59
-
-
Save lgmcolin/8121861 to your computer and use it in GitHub Desktop.
Reset CSS,Essentially Eric Meyer's reset( http://meyerweb.com/eric/tools/css/reset/ ), I've made a few tweaks that make his reset more palatable to my tastes.
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
/* 浏览器样式重置 | |
----------------------------------*/ | |
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,menu{ | |
margin:0; | |
padding:0; | |
} | |
article,aside,dialog,footer,header,section,footer,nav,figure,menu{ | |
display:block; | |
} | |
table{ | |
border-collapse:collapse; | |
border-spacing:0; | |
} | |
fieldset,img{ | |
border:0; | |
} | |
address,caption,cite,code,dfn,th,var{ | |
font-style:normal; | |
font-weight:normal; | |
} | |
caption,th{ | |
text-align:left; | |
} | |
q:before,q:after{ | |
content:''; | |
} | |
abbr,acronym{ | |
border:0; | |
font-variant:normal; | |
} | |
sup{ | |
vertical-align:text-top; | |
} | |
sub{ | |
vertical-align:text-bottom; | |
} | |
input,textarea,select{ | |
font-family:inherit; | |
font-size:inherit; | |
font-weight:inherit; | |
} | |
input,textarea,select{ | |
*font-size:100%; | |
} | |
legend{ | |
color:#000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment