我的标题标签的字体系列改变了,但我的正文标签一直被"_reboot.scss:50
"取消.此外,当我判断我的网页并关闭默认的"enter code here
font-family:var(--bs-body-font-family)我在CSS作品中 Select 的字体.
已try 导入和链接谷歌字体:
<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 Select 器:
body {
font-family: 'Montserrat', sans-serif;
}