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