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"; }

  

上一篇:JavaScript的基本概念


下一篇:iOS中大流中的自定义cell 技术分享