css字型樣式(Font Style),屬性

來源:互聯網
上載者:User

 

1
字型樣式
{font:font-style font-variant font-weight font-size font-family}

2
字型類型
{font-family:"字型1","字型2","字型3",...}

3
字型大小
{font-size:數值|inherit| medium| large| larger| x-large| xx-large| small| smaller| x-small| xx-small}

4
字型風格
{font-style:inherit|italic|normal|oblique}

5
字型粗細
{font-weight:100-900|bold|bolder|lighter|normal;}

6
字型顏色
{color:數值;}

7
陰影顏色
{text-shadow:16位色值}

8
字型行高
{line-height:數值|inherit|normal;}

9
字 間 距
{letter-spacing:數值|inherit|normal}

10
單詞間距
{word-spacing:數值|inherit|normal}

11
字型變形
{font-variant:inherit|normal|small-cps }

12
英文轉換
{text-transform:inherit|none|capitalize|uppercase|lowercase}

13

{font-size-adjust:inherit|none}

14

{font-stretch:condensed|expanded|extra-condensed|extra-expanded|inherit|narrower|normal| semi-condensed|semi-expanded|ultra-condensed|ultra-expanded|wider}

相關文章

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.