/* 消除边距,默认css3盒子模型 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 消除斜体 */
i,
em {
    font-style: normal;
}

/* 消除列表样式 */
ul,
ol,
li {
    list-style: none;

}

/* 清除图片连接边框，和图片对齐方式 */
img {
    border: none;
    vertical-align: middle;
}

/* 单行文字隐藏 */
.overflow1 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 多行文字隐藏 现在为2行文字*/
.overflow2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

/* 表格边框合并 */
table,
tr,
td,
th {
    border-collapse: collapse;
}

/* 左浮动和右浮动 */
.fl {
    float: left;
}

.fr {
    float: right;
}

/* 去除连接的下划线  */
a {
    text-decoration: none;
}

/* 清除浮动 */
.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}