CSS丨resize css

  • base.css
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font: 16px/1.5 sans-serif;
    color: #333;
    background-color: #fff;
}

li {
    list-style: none;
}

em,
i {
    font-style: normal;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #5eb69c;
}

/* 去掉图片底部缝隙 */
img {
    vertical-align: middle;
}

input {
    padding: 0;
    /* border: none; */
    /* 取消轮廓线 */
    outline: none;
    color: #333;
}

button {
    cursor: pointer;
}

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
}

/* 照顾ie6 */
.clearfix {
    *zoom: 1;
}
posted @ 2021-11-22 14:03  aivsok9  阅读(28)  评论(0编辑  收藏  举报