字体属性

 

text-align

文本对齐

text-align 属性规定元素中的文本的水平对齐方式。

描述
left 左边对齐 默认值
right 右对齐
center 居中对齐
justify 两端对齐

line-height

行高

text-decoration

文字装饰。

描述
none 默认。定义标准的文本。
underline 定义文本下的一条线。
overline 定义文本上的一条线。
line-through 定义穿过文本下的一条线。
inherit 继承父元素的text-decoration属性的值。

猜你喜欢

转载自www.cnblogs.com/fmgao-technology/p/9246046.html
今日推荐