PC端css开头文件
@charset "utf-8";
body,h1,h2,h3,h4,h5,h6,p,dl,ul,ol,dd,input,button,textarea{
margin: 0;
padding: 0;
}
img{
vertical-align: top;
/* IE10及以下的蓝色边框 */
border: 0;
}
a{
text-decoration: none;
color: inherit;
}
li{
list-style: none;
}
html{
font-family: "微软雅黑","宋体",Arial;
font-size: 12px;
color: #333;
}
/* input,button{
border: 0;
border:none;
border:hidden;
} */
/* focus输入框光标点击进去的时候 */
input:focus,button:focus,select:focus,textarea:focus{
/* 点击时出现的外框 */
outline: none;
}
/* 把按钮设为手型 */
button,input[type="button"],input[type="submit"],input[type="reset"]{
cursor: pointer;
}
textarea{
/* 不允许多行输入拉伸 */
resize:none;
}
.sl{
/* 强制不换行 */
white-space: nowrap;
overflow:hidden;
/* 文本超出省略 */
text-overflow: ellipsis;
}
.cl:after{
content:"";
display: block;
clear: both;
height: 0;
overflow: hidden;
visibility: hidden;
}
.cl{
zoom: 1;
}
.bd0{
border: 0 !important;
}
.fl{
float:left;
}
.fr{
float:right;
}
.xiaoming{
width: 1170px;
margin: auto;
}
/*多行省略*/
.sl2{
display: -webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp: 2;
text-overflow: ellipsis;
overflow: hidden;
}
浙公网安备 33010602011771号