📜  如何链接字体css代码示例

📅  最后修改于: 2022-03-11 14:47:50.682000             🧑  作者: Mango

代码示例1
@font-face {
  font-family: myFirstFont;
  src: url(sansation_light.woff);
}

div {
  font-family: myFirstFont;
}
/*Name the font-family and link the font file in the @font-face rule*/