美文网首页
工地施工狗的转行之路Day14

工地施工狗的转行之路Day14

作者: 中石化局长 | 来源:发表于2016-12-05 21:01 被阅读0次

    w水平居中显示——行内元素(给父元素设置text-align:center)

    .txtCenter{
              text-align:center;
    }

    <div class="txtCenter">在父元素中水平居中</div>


    相关文章

      网友评论

          本文标题:工地施工狗的转行之路Day14

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