css font-style使用方法
語法:
font-style : normal | italic | oblique
參數(shù):
normal : 正常的字體
italic : 斜體。對于沒有斜體變量的特殊字體,將應(yīng)用oblique
oblique : 傾斜的字體
說明:
設(shè)置或檢索對象中的字體樣式。
對應(yīng)的腳本特性為fontStyle。請參閱我編寫的其他書目。
示例:
p { font-style: normal; }
p { font-style: italic; }
p { font-style: oblique; }
作者:大學(xué)生新聞網(wǎng) 來源:大學(xué)生新聞網(wǎng)
- css font-stretch使用方法
- font-stretch : normal | narrower | wider | ultra-condensed | extra-condensed
- 03-21 關(guān)注:4
- css font字體使用方法
- font : font-style || font-variant || font-weight || font-size || line-height || font-family
- 03-21 關(guān)注:4