[英]How to use a preload on an icon font?
I am using the et-line font and I am trying to preload it.我正在使用 et-line 字体,我正在尝试预加载它。
<link rel="stylesheet" type="text/css" href="./css/et-line.css">
I have tried this, but my font disappears.我试过这个,但我的字体消失了。
<link rel="preload" as="font" type="text/css" href="./css/et-line.css" crossorigin>
How can I preload an et-line font without it disappearing?如何在不消失的情况下预加载 et-line 字体?
I am using the et-line font and I am trying to preload it.我正在使用 et-line 字体,我正在尝试预加载它。
<link rel="stylesheet" type="text/css" href="./css/et-line.css">
I have tried this, but my font disappears.我试过这个,但我的字体消失了。
<link rel="preload" as="font" type="text/css" href="./css/et-line.css" crossorigin>
How can I preload an et-line font without it disappearing?如何在不消失的情况下预加载 et-line 字体?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.