w水平居中显示——行内元素(给父元素设置text-align:center)
.txtCenter{ text-align:center;}
<div class="txtCenter">在父元素中水平居中</div>
本文标题:工地施工狗的转行之路Day14
本文链接:https://www.haomeiwen.com/subject/ctkipttx.html
网友评论