2019-09-06 23:53:10 +08:00

55 lines
1.3 KiB
CSS
Executable File

@charset "utf-8";
/* CSS Document */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,
fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}
body{
font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Hiragino Sans GB W3", "WenQuanYi Micro Hei", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}
table {
border-collapse:collapse; /*让表格边框细线*/
border-spacing:0; /*清除边框间距*/
}
fieldset,img {
border:0 none; /*有些浏览器默认这些标签有边框,所以要清除默认边框*/
display:block;
}
address,caption,cite,code,dfn,em,i,u,b,strong,th,var {
font-style:normal;
font-weight:normal;
/*清除标签默认文本样式和加粗*/
}
input,textarea{
outline:0 none;/*去掉文本框的默认轮廓线*/
}
ol,ul {
list-style:none; /*清除列表默认样式*/
}
caption,th {
text-align:left; /*清除标签默认文本居中对齐*/
}
h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:normal; /*清除标题标签的默认样式*/
}
a{
text-decoration:none;/*大部分页面中的链接没有下划线*/
}
.clearfix:after{
height:0;
content:" ";
display:block;
overflow:hidden;
clear:both;
}
.clearfix{
zoom:1;/*IE低版本浏览器不支持after伪类所以要加这一句*/
}