阅读背景:

css中自定义字体

来源:互联网 

css代码如下:

@font-face {
  font-family: 'HelveticaNeueLTPro-Th';
  src: url('../fonts/HelveticaNeueLTPro-Th.eot');
  src: url('../fonts/HelveticaNeueLTPro-Th.eot?#iefix') format('embedded-opentype'),
  url('../fonts/HelveticaNeueLTPro-Th.woff') format('woff'),
  url('../fonts/HelveticaNeueLTPro-Th.ttf') format('truetype'),
  url('../fonts/HelveticaNeueLTPro-Th.svg#HelveticaNeueLTPro-Th') format('svg');
  font-weight: normal;
  font-style: normal;
}

//使用
.aaaa{ font-family: "HelveticaNeueLTPro-Th"; }
@font-face {
  font-family: 'Hel



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: