body {
font-size: 14px;
margin: 0;
padding: 0;
font-family:PingFang SC;
color: #333;
}
/* 通用样式 */
ul, li, p, h1, h2, h3, h4, h5, h6, dl, dt, dd, button ,tr,td{
margin: 0;
padding: 0;
list-style: none;
border: none;
outline: none;
font-weight: normal;
}
a{
text-decoration:none;
color:#333;
cursor:pointer;
}
a:hover{
text-decoration:none;
color:#333;
}
i{
font-style:normal;
}
img {
border:none;
}
table {
border-collapse: collapse; border-spacing: 0;
}
*{
vertical-align: middle;
}
/* 清除浮动 */
.clear{
zoom: 1;
}
.clear::after{
display: block;
width: 100%;
height: 0;
clear: both;
content: '';
}
.fl{
float: left;
}
.fr{
float: right;
}
/* hidden */
.hidden{
display: none !important;
}
/* 单行溢出 */
.single-row{
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/* 两行溢出 */
.double-row{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
word-break: break-all;
}
css通用样式表
最新推荐文章于 2023-04-09 15:49:24 发布
1131

被折叠的 条评论
为什么被折叠?



