- 段落縮進 text-indent
text-indent: 3px;
- 文本對齊 text-align
text-align: left; // 左對齊, 默認
text-align: right; // 右對齊
text-align: center; // 水平居中
- 文本裝飾線 text-decoration
text-decoration: none; // 常用于: 取消超鏈接默認的下劃線
text-decoration: underline; // 下劃線
text-decoration: overline; // 上劃線
text-decoration: line-through; // 穿越線, 刪除線
text-decoration: blink; // 閃爍, 不推薦使用
- 字間距 letter-spcing
letter-spacint: 20px; // 字間距, 字母間距
-
詞間距 word-spacing
(對中文無效)
word-spacing: 10px; // 僅對英文單詞有效, 對中文無效
-
大小寫轉換 text-transform
(對中文無效)
text-transform: uppercase;
text-transform: lovercase;
text-transform: captitalize; // captitalize 是把首字母大寫, 其它字母不受影響
2012_d1_①_024