【发布时间】:2013-11-27 05:28:28
【问题描述】:
我使用@font-face 将一种字体整合到我的网站中。尽管它在 ff/chome/safari 中显示良好,但在 Opera 中呈现困难。
我正在使用 Google 的字体 API;这是在我的 html 中:
<link
href='http://fonts.googleapis.com/css?family=Muli'
rel='stylesheet'
type='text/css' >
然后是我的 CSS:
/* this is whats in the linked file */
@font-face
{ font-family: 'Muli';
font-style: normal;
font-weight: 400;
src: local('Muli'), url('http://themes.googleusercontent.com/static/fonts/muli/v2/ kU4XYdV4jtS72BIidPtqyw.woff') format('woff');
}
/* this is the css in my site */
body
{ font-family: 'Muli', sans-serif;
}
我不确定为什么这不起作用:API 说它适用于 Opera 10.5 及更高版本...
【问题讨论】:
-
根据dev.opera.com/articles/view/… WOFF 仅支持 Opera 11.10 及更高版本。
标签: css cross-browser opera font-face