引入Roboto字体
1.Roboto字体可以通过Google Fonts来获取,下载网址:https://fonts.google.com
2.如果用的是Roboto Regular字体,可以直接添加CSS链接:
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap">
应用Roboto字体
body {
font-family: 'Roboto', sans-serif;
}