在声明font-weight时,将其设置为'normal”即可。
示例代码:
@font-face {
font-family: 'MyVariableFont';
src: url('/fonts/my-variable-font.woff2') format('woff2-variations');
font-weight: normal;
font-display: swap;
}
上一篇:变量字体是如何工作的
下一篇:变量自行改变了?