/* 清除内外边距 */
body,
input,
textarea
 {
    /* table elements 表格元素 */
    margin: 0;
    padding: 0;
}

/* 重置文本格式元素 */
a {
    text-decoration: none;
    /* 移除下划线 */
    color: inherit;
    /* 继承父元素的文字颜色 */
}

a:hover,
a:active,
a:focus {
    text-decoration: none;
    /* 移除悬停、激活和聚焦状态下的下划线 */
    color: inherit;
    /* 保持颜色不变 */
    outline: none;
    /* 移除轮廓 */
}



/* img 搭车：让链接里的 img 无边框 */
/* 注：optgroup 无法扶正 */
input,
select,
textarea {
    font-size: 100%;
    /* 使得表单元素在 ie 下能继承字体大小 */
}



/* 去除input默认样式 */
input {
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    background-color: transparent;
    font-size: inherit;
}

input:focus {
    outline: none;
}

.hang4 {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.hang3 {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.hang2 {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

textarea {
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    background-color: transparent;
    /* font-size: inherit; */
    width: 100%;
    resize: none;
}