@FONT-FACE
@font-face跟其在CSS中作用表现一样,在后面简单地添加个块状属性即可,类似下面:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| @font-face font-family Geo font-style normal src url(fonts/geo_sans_light/GensansLight.ttf)
.ingeo font-family Geo
=> @font-face { font-family: Geo; font-style: normal; src: url("fonts/geo_sans_light/GensansLight.ttf"); } .ingeo { font-family: Geo; }
|