css font-style使用方法
語法:
font-style : normal | italic | oblique
參數:
normal : 正常的字體
italic : 斜體。對于沒有斜體變量的特殊字體,將應用oblique
oblique : 傾斜的字體
說明:
設置或檢索對象中的字體樣式。
對應的腳本特性為fontStyle。請參閱我編寫的其他書目。
示例:
p { font-style: normal; }
p { font-style: italic; }
p { font-style: oblique; }
- css font-stretch使用方法
- font-stretch : normal | narrower | wider | ultra-condensed | extra-condensed
- 03-21 關注:4
- css font字體使用方法
- font : font-style || font-variant || font-weight || font-size || line-height || font-family
- 03-21 關注:4