Html 如何更改导航器的渲染字体
我正在使用ATOM,我试图在我的代码中从谷歌字体更改字体系列,但有些东西没有改变Html 如何更改导航器的渲染字体,html,css,Html,Css,我正在使用ATOM,我试图在我的代码中从谷歌字体更改字体系列,但有些东西没有改变 首先我要做的是:href=”https://fonts.googleapis.com/css?family=Roboto&display=swap“rel=”stylesheet“type=”text/css“好的,有几种方法可以导入谷歌字体 1: 在html>head中 <link href="https://fonts.googleapis.com/css?family=Roboto&displa
首先我要做的是:href=”https://fonts.googleapis.com/css?family=Roboto&display=swap“rel=”stylesheet“type=”text/css“好的,有几种方法可以导入谷歌字体 1: 在html>head中
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
2:
在css文件中
@导入url(“”)
然后
然后在css中
body{
font-family: 'Roboto', sans-serif;
}
body{
font-family: 'Roboto', sans-serif;
}
你能完成你的描述吗?