【发布时间】:2013-04-10 22:29:19
【问题描述】:
使用谷歌网络字体,我无法获得字体粗细来产生结果。这三个权重确实有名称,但未在 href 链接中指定,所以我不确定是否需要添加名称。
这是那部分代码:
<link href='http://fonts.googleapis.com/css?family=Quicksand:400,300,700' rel='stylesheet' type='text/css'><style type="text/css">
body{
background-color: white;
margin-left: 20%;
margin-right: 20%;
border: none;
padding: 10px 10px 10px 10px;
font-family: Quicksand, sans-serif;
font-weight: 300;
}
【问题讨论】:
-
在这个小提琴中完美运行:jsfiddle.net/44K2M/1
-
我已经尝试在 Safari 和 Firefox 中测试页面,但都不会改变权重。不过,字体本身渲染得很好。
-
只要你关心(不要说你应该):这是方式太少的信息来帮助你。
标签: css styles stylesheet webfonts google-webfonts