字体功能设置:lnum 1;文本字体的粗细不能超过500

时间:2019-02-14 07:13:58

标签: css3

我已从Google字体导入Raleway字体,并在页面中出现了移位的数字。该问题已通过字体功能设置部分解决:“ lnum” 1;但似乎不能将字体粗细设置为500以上。我是否缺少某些内容?

@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,500,600,400i'); 

body {
  font-family: "Raleway", sans-serif;
  -moz-font-feature-settings: "lnum" 1;
  -webkit-font-feature-settings: "lnum" 1;
  -ms-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1;
}

https://prntscr.com/mkw48r

0 个答案:

没有答案