我的意思是来自fontawesome的图标或来自Google字体的字体。在HTML中,我将这样的内容放在头部:
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
那反应如何呢?
您可以像这样将其导入样式表中
@import url('https://fonts.googleapis.com/css?family=Roboto');
而你的身材将成为
body {
font-family: 'Roboto';
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句