作者:尛爱总_305 | 来源:互联网 | 2023-05-19 13:17
ImmakingawebsitewithHTML5andCSS3features.Ivegottwocustomfontswhichareaddedthrough
I'm making a website with HTML5 and CSS3 features. I've got two custom fonts which are added through @font-face. They're used in logo. They're in 'h1' tags, and I rotated them with CSS3 proporety:
我正在建立一个HTML5和CSS3功能的网站。我有两个通过@ font-face添加的自定义字体。它们用于徽标。它们是'h1'标签,我用CSS3 proporety旋转它们:
transform: rotate(350deg);
Of course for every browser I used proper prefix (for IE: "-ms-", for FF: "-moz-", for Chrome/Safari: "-webkit-" and for Opera: "-o-"). The problem is that it doesn't rotate in Chrome and Safari. So my question is, does Webkit engine allow to rotate custom fonts with CSS3 properties?
当然对于每个浏览器我使用了正确的前缀(对于IE:“ - ms-”,对于FF:“ - moz-”,对于Chrome / Safari:“ - webkit-”和对于Opera:“ - o - ”)。问题是它不能在Chrome和Safari中旋转。所以我的问题是,Webkit引擎是否允许使用CSS3属性旋转自定义字体?
1 个解决方案