base css

body,ul,ol,dt,dd,img,p,h1,h2,h3,h4,h5,h6,input,textarea,select,fieldset,legend,ul,ol,dl,th{
    margin: 0;
    padding: 0;
}
body {
    font-family: "微软雅黑";
    color: #333;
}
input,img{
    border: 0;
    outline: none;
}
img {
    display: block;
}
ul,ol,li{
    list-style: none
}
a {
    outline-style: none;
    color: #333;
    text-decoration: none
}
a:hover,a.hover{
    color: #ed155b;
}
.flt{
    float: left;
}
.frt{
    float: right;
}
.footer{
    font-size:12px;
}
/* 多行省略号 */
.figcaption_4 {
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.figcaption_3 {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.figcaption_2{
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 单行省略号 */
.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
原文地址:https://www.cnblogs.com/gitByLegend/p/11560356.html