input,textarea
{
border:0;
outline:0;
margin:0;
padding:0;
outline:none; //去除默认外边框亮光
}
textarea
{
resize:none;
overflow:auto;
}
em
{
font-style:normal;
}
ol,ul
{
list-style:none;
margin:0;
padding:0;
}
h1,p,h2
{
font-weight:400;
margin:0;
}
a,input
{
text-decoration:none;
color:#a6a5a5;
}
img
{
border:0;
vertical-align:middle;
}
body
{
font-family:SimHei,SimSun,sans-serif,Arial,微软雅黑;
color:#666;
font-size:26px;
margin:0;
}
html
{
background:#fff;
overflow-y:scroll;
-webkit-text-size-adjust:100%;
-ms-text-size-adjust:100%;
}
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,hr,button,article,aside,details,figcaption,figure,footer,header,menu,nav,section
{
margin:0;
padding:0;
}
一些元素的css样式重置
最新推荐文章于 2022-12-03 15:24:45 发布