下面是crome和firefox视图中的图像:在firefox中,字体看起来有点粗体和阴影。">
我在我的网页中使用了"Raleway“字体。但在不同的浏览器中看起来是不同的。有没有办法解决这个问题?
这是我使用过的链接。
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Raleway" />
下面是crome和firefox视图中的图像:
在firefox中,字体看起来有点粗体和阴影。
发布于 2016-10-07 11:15:46
使用这个。
body {
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-o-font-smoothing: antialiased;
font-smoothing: antialiased
}
如果不工作
body {
-webkit-font-smoothing: antialiased!important;
-moz-font-smoothing: antialiased!important;
-o-font-smoothing: antialiased!important;
font-smoothing: antialiased!important;
}
发布于 2016-10-07 11:20:05
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
https://stackoverflow.com/questions/39915727
复制相似问题