简体中文
font-style CSS 属性允许你选择 font-family 字体下的 italic 或 oblique 样式。
Android | iOS | web |
---|---|---|
3.9 | 4.11 | 4.0 |
font-style: normal | italic | oblique <angle>{0,2};
italic
选择斜体,如果当前字体没有可用的斜体版本,会选用倾斜体(oblique )替代。
normal
选择 font-family 的常规字体。
normal
Android | iOS | web | |
---|---|---|---|
italic | 3.9 | 4.11 | 4.0 |
normal | 3.9 | 4.11 | 4.0 |
Chrome | Edge | Firefox | Opera | Safari | IE | |
---|---|---|---|---|---|---|
font-style | √( 1 ) | √( 12 ) | √( 1 ) | √( 7 ) | √( 1 ) | √( 4 ) |
font-style 样式不支持继承