[css]Web Font
1-1、IE6+ (EOT、TTF)
1-2、FF (WOF)
1-3、CHROME Safari (SVG)
2.
基本語法
@font-face {
font-family: nani;//宣告字體名稱
src:url('fonts/ nani.eot)
format('embedded-opentype'),
url('fonts/ nani.woff)
format('woff'),
url('fonts/ nani.ttf)
format('truetype'),
url('fonts/ nani.svg
) format('svg');
font-weight: normal;
font-style: normal;
}
.textStyle {
font-family: "nani";
}
.icon-home:before {
font-family: 'nani';
content: "\e600";
}
3.
工具/整合包