我的标题标签的字体系列发生了变化,但我的正文标签一直被“_reboot.scss:50”取消。当我检查我的网页并关闭默认设置时
enter code here
字体系列:var(--bs body字体系列);“我在CSS作品中选择的字体。
已尝试导入和链接谷歌字体:
<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;900&display=swap');
</style>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;900&display=swap" rel="stylesheet">
Css选择器:
body {
font-family: 'Montserrat', sans-serif;
}