[英]Google's Open Sans font weight
I am using Google Open Sans fonts in an html page via: 我通过以下方式在html页面中使用Google Open Sans字体:
<link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
Only the font-weight: 600;
只有
font-weight: 600;
makes the font bold. 使字体变粗。 Other values don't seem to make a difference.
其他值似乎没有什么区别。 How to have intermediary font weights for this particular font using the CSS rules?
如何使用CSS规则获得此特定字体的中间字体权重? Or must I use some other font?
或者我必须使用其他字体吗?
What you are using will only consist of 400
font weight font file. 您使用的只包含
400
字体权重字体文件。 Inorder to get other font weight font files, you need to select font weights as well, like 为了获得其他字体粗细字体文件,您还需要选择字体粗细,例如
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');
Note that the more font weights you use, the more time it will take to load these files. 请注意,您使用的字体权重越多,加载这些文件所需的时间就越多。 Inorder to add more font weights, follow the steps below.
要添加更多字体粗细,请按照以下步骤操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.