泽知珩网格社区

css怎么初始化?

搜索body,始化将初始样式扣下来

* { 
   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
}

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

上一篇: 舒尚佳绫
下一篇: 杨瀚森准绝杀!中国男篮2连胜迎世界杯出线利好
Copyright © 2024 Powered by css怎么初始化? , 泽知珩网格社区sitemap 0.6151s , 8177.859375 kb