css标签格式化通用模板
h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td, header, section, body, html { margin:0; padding:0; }
h1, h2, h3, h4, h5, h6{ font-size:100%; }
address, cite, dfn, em, var { font-style:normal; }
code, kbd, pre, samp { font-family:couriernew, courier, monospace; }
small{ font-size:px2rem(12); }
ul, ol { list-style:none; }
a { text-decoration:none; color:#000;}
a:hover { text-decoration:none; }
sup { vertical-align:text-top; }
sub{ vertical-align:text-bottom; }
legend { color:#000; }
fieldset, img { border:0; width: 100%; }
button, input, select, textarea { font-size:100%; }
table { border-collapse:collapse; border-spacing:0; }
label {margin: 0;padding: 0;border: none;}
body{
background: #FFFFFF;
margin: 0;
overflow-x: hidden;
font-family: "Microsoft YaHei", "Century Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.clearFix::after, .clearFix::before {
content: "";
display: block;
visibility: hidden;
height: 0;
line-height: 0;
clear: both;
}
.fl {
float: left;
}
.fr {
float: right;
}
.one {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.two {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.three {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.pull-left {
float: left;
}
.pull-right {
float: right;
}
.bottom {
width: 100%;
height: 1.44rem;
background: #fff;
}
i {
font-style:normal
}
.fon700 {
font-weight: 700;
}