预览ttf格式字体
-
\e001uniE001
-
\e002uniE002
-
\e003uniE003
-
\e004uniE004
-
\e005uniE005
-
\e006uniE006
-
\e007uniE007
-
\e008uniE008
-
\e009uniE009
-
\e00auniE00A
-
\e00buniE00B
-
\e00cuniE00C
-
\e00duniE00D
-
\e00euniE00E
-
\e00funiE00F
-
\e010uniE010
-
\e011uniE011
-
\e012uniE012
-
\e013uniE013
-
\e014uniE014
-
\e015uniE015
-
\e016uniE016
-
\e017uniE017
-
\e018uniE018
-
\e019uniE019
-
\e01auniE01A
-
\e01buniE01B
-
\e01cuniE01C
-
\e01duniE01D
-
\e01euniE01E
-
\e01funiE01F
-
\e020uniE020
-
\e021uniE021
-
\e022uniE022
-
\e023uniE023
-
\e024uniE024
-
\e025uniE025
-
\e026uniE026
-
\e027uniE027
-
\e028uniE028
-
\e029uniE029
第一步:使用font-face声明字体
@font-face { font-family: 'fonteditor'; src: url('fonteditor.eot'); /* IE9*/ src: url('fonteditor.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonteditor.woff') format('woff'), /* chrome、firefox */ url('fonteditor.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('fonteditor.svg#uxfonteditor') format('svg'); /* iOS 4.1- */ }第二步:定义使用fonteditor的样式
.fonteditor { font-family:"fonteditor" !important; font-size:16px;font-style:normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; -moz-osx-font-smoothing: grayscale; }第三步:挑选相应图标并获取字体编码,应用于页面
<i class="fonteditor">3</i>