当前位置:首页 » 时尚 » 正文

    css怎么初始化?

    日期:2026-11-23 19:11:00   分类:时尚  作者:清南屿网格社区
    将初始样式扣下来

    * { 
       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,搜索body,始化

     



    留言/评论:◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

    填写好QQ号码,任点空白处自动获取

    昵称

    邮箱

    网址

    Copyright © 2024 Powered by css怎么初始化? , 炊网sitemap 0.4052s , 8180.6796875 kb