首先我要感谢这个网站上所有伟大的人。如果没有 SO 的帮助,我会很迷失。
我正在尝试引用谷歌字体的排版。问题是,当我推送更改时,字体将显示在控制台上,但不会在实际网站上呈现。
这是我导入代码的方式
<style>
@import url('https://fonts.googleapis.com/css?family=Poppins:400,700,900');
</style>
Run Code Online (Sandbox Code Playgroud)
.text{
font-family: 'poppins-bold', sans-serif !important;
font-size: 6.3rem;
line-height: 1.333;
margin-top: 0;
color: #FFFFFF;
text-align: center;
}
Run Code Online (Sandbox Code Playgroud)
请查看此处的网站并亲自查看。
有什么方法可以解决这个问题吗?