css怎么初始化?

作者:分类:休闲发布于:2026-11-23 07:20:49
将初始样式扣下来

* { 
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

em,
i {
   font-style: normal
}

li {
   list-style: none
}

img {
   border: 0;
   vertical-align: middle
}

button {
   cursor: pointer
}

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

a:hover {
   color: #c81623
}

button,
input {
   font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif
}

body {
   -webkit-font-smoothing: antialiased;
   background-color: #fff;
   font: 12px/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
   color: #666
}

.hide,
.none {
   display: none
}

.clearfix:after {
   visibility: hidden;
   clear: both;
   display: block;
   content: ".";
   height: 0
}
搜索body,始化

(1)先访问京东 > 找到第一个css,

搜索关键字: 
版权所有。转载时必须以链接形式注明作者和原始出处及本声明。

« 红豆花生红枣粥的做法及功效

英国国防大臣访基辅重申长期援乌承诺»

评论

发表评论

电子邮件地址不会被公开。必填项已用*标注

回顶部
Copyright © 2024 Powered by css怎么初始化? , 明省答疑问答社sitemap 1.0655s , 8177.5625 kb