HTML-CSS实现 | 基本样式初始化

*{margin: 0;padding: 0;}/*样式重置*/
ul>*{
    float: left;
}
ul>*::after{
    clear: both;
}
li{
    list-style: none;/*去除默认标点*/
}
a{
    color: black;
    text-decoration: none;/*去除下划线*/
}
input[type=text]{
    border: none;
    outline: none;
}

 

posted @ 2020-09-30 16:39  海胆Sur  阅读(13)  评论(0)    收藏  举报  来源