清除浏览器默认样式

@charset"utf-8";
/*清除浏览器默认样式*/
html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,a,span,i,em,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0;}
header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{display:block;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;font-weight:normal;}
html,body,fieldset,img,iframe,abbr{border:0;}
i,cite,em,var,address,dfn{font-style:normal;}
[hidefocus],summary{outline:0;}
li{list-style:none;}
h1,h2,h3,h4,h5,h6,small{font-size:100%;}
sup,sub{font-size:83%;}
pre,code,kbd,samp{font-family:inherit;}
q:before,q:after{content:none;}
textarea{overflow:auto;resize:none;}
label,summary{cursor:default;}
a,button{cursor:pointer;}
h1,h2,h3,h4,h5,h6,em,strong,b{font-weight:bold;}
del,ins,u,a{text-decoration:none;}
body,textarea,input,button,select,keygen,legend{ font-family:"Microsoft YaHei";font-size:14px;color:#333;outline:0;}
body{min-width: 1002px; font-size:14px;line-height:1;font-family:"Microsoft YaHei",Arial,Helvetica,sans-serif;color: #333;background:#fff;}
p,a{color:#333;}
a{
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
a:hover{text-decoration: none;}
 
.wrap{position: relative; width: 1000px;margin:0 auto;height: 100%;}
 
.clearfix:after,
.clearfix:before{content:" ";display:table;}
.clearfix:after{clear:both;}
posted @ 2016-09-19 15:17  星梦娟然  阅读(166)  评论(0编辑  收藏  举报