【问题标题】:CSS - Font-style propriety - Oblique with variable angleCSS - 字体样式的适当性 - 可变角度的倾斜
【发布时间】:2022-08-18 17:32:58
【问题描述】:

我想用 \"font-style: oblique \"angle\"\" 选择字体的倾斜角度

就像这个例子:https://developer.mozilla.org/en-US/docs/Web/CSS/font-style

我也想用负角

但我想我错过了一个细节,当我在我的代码中使用完全相同的 sn-p 时,文本总是以默认值倾角 (14deg) 显示。

我应该使用特定的字体/浏览器还是其他 css 属性?

浏览器:火狐 97.0.1

h2 {
   font-style: oblique 30deg;
}
<h2>Oblique text with 30deg angle<h2>

感谢您的回答

标签: html css font-style


【解决方案1】:

可能是浏览器试试chrome

【讨论】:

    猜你喜欢
    • 2010-12-13
    • 2012-06-13
    • 2017-05-18
    • 2016-02-03
    • 2015-06-16
    • 1970-01-01
    • 1970-01-01
    • 2015-04-10
    • 2020-10-24
    相关资源
    最近更新 更多