字体样式
属性 | 含义 | 示例 |
font-faimly | 设置字体类型 | font-faimly:"l隶书"; |
font-size | 设置字体大小 | font-size:12px; |
font-style | 设置字体风格 | font-style:italic; |
font-weight | 设置字体的粗细 | font-weight:bold; |
<p>享受<span class=“show”>“自助式”</span>教育服务</p>
文本样式
属性 | 含义 | 示例 |
color | 设置文本颜色 | color:#333 |
text-align | 设置元素水平对齐方式 | text-align:right; |
text-indent | 设置首行文本的缩进 | text-indent:16px; |
line-height | 设置文本的行高 | line-height:32px; |
text-decoration | 设置文本的装饰 | text-decoration:underline; |