1、先在css里面为引用的字体取名

@font-face {
    font-family: 'thin';
    src: url('../font/thin.ttf');
}

2、使用到需要的地方

.link_box {
    font-family: thin;
}

 

相关文章:

  • 2021-12-03
  • 2022-03-04
  • 2021-06-19
  • 2021-09-23
  • 2022-12-23
  • 2021-12-09
  • 2021-09-11
  • 2021-10-07
猜你喜欢
  • 2021-12-04
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2021-11-21
相关资源
相似解决方案