CSS之文本

 文本对齐方式

text-align

left 把文本排列到左边。

默认值:由浏览器决定。

right 把文本排列到右边。

center 把文本排列到中间。

justify 实现两端对齐文本效果。

inherit 规定应该从父元素继承 text-align 属性的值。


text-indent:

首行文本缩进

原文地址:https://www.cnblogs.com/bianzhuo/p/9985742.html