我们为大家收集整理了关于通过css加载远程字体示例代码,以方便大家参考。
<style type="text/css">
@font-face {
font-family: 'C39HrP72DlTt';
src: url('C39HrP72DlTt.eot');
src: local('C39HrP72DlTt'),
url('C39HrP72DlTt.eot'),
url('C39HrP72DlTt.ttf') format('truetype'),
url('C39HrP72DlTt.woff') format('woff');
}
#bar {
font-size: 150px;
font-family: C39HrP72DlTt;
text-align: center;
}
</style>
<divid="bar">*china*</div>
希望大家可以学会通过css加载远程字体示例代码想了解更多精彩内容,请关注我们的网站!
相关推荐:
CSSnorepeat属性是什么