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