CSS基礎2

來源:互聯網
上載者:User

標籤:

1.設定元素內容的字型

1.1設定字型名稱/font–family

1.2字型傾斜角度/font–stule(normal.italic.oblique)

1.3字型的變體/font–variant(normal.small–caps)

1.4字重/font–weight(normal.bold.bolder.lighter.100.200……)

1/5字型大小/font–size

2.設定元素內容的文字屬性

2.1文本首行縮排/text–indext(length.percentage)

2.2文本對齊/text–align(left.right.center)

2.3文本修飾方式/text–decoration(underline底線.overline上劃線.line–through刪除線.blink閃爍)

2.4文本陰影特效/text–shadow(color)

2.5行高/line–height

2.6字間距/letter–spacing(length)

2.7詞間距word–spacing(length)

2.8文字大小寫形式/text–transform

2.8.1capitalize把元素內容的每句句首字母變成大寫

2.8.2uppercase把元素內容中所有的字母變成大寫

2.8.3lowercase把元素內容中所有的字母變成小寫

2.9空白顯示形式/white–space(normal.pre.nowrap)

 

CSS基礎2

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.