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