美文网首页
CSS 层叠 特殊值 继承

CSS 层叠 特殊值 继承

作者: 康乐芳华 | 来源:发表于2019-03-29 12:31 被阅读0次

    自动继承的属性

    html{
      color: "#13a461";
      font: "";
      font-family: "Microsoft YaHei";
      font-size: 16px;
      font-weight: 700;
      font-variant: small-caps;
      font-style: "";
      line-height: 1.2;
      letter-spaceing: 1px;
      text-align: center;
      text-indent: 2em;
      text-transform: capitalize;
      white-space: none;
      word-spacing: 2px;
    }
    ul{
      list-style-type: disc;
    }
    

    initial

    div{ display: initial }
    

    等同于

    div{ display: inline }
    

    相关文章

      网友评论

          本文标题:CSS 层叠 特殊值 继承

          本文链接:https://www.haomeiwen.com/subject/hrzfbqtx.html