@font-face {font-family: ' emotion '; Src=\ ' #\ '/* ie9*/src=\ ' #\ ' "/* ie6-ie8 * * URL (' emotion.woff ') format (' Woff '),/* Chrome, Firefox */u RL (' Emotion.ttf ') format (' TrueType '),/* Chrome, Firefox, Opera, Safari, Android, IOS 4.2+*/url (' Emotion.svg#svgfon Tname ') format (' SVG '); /* IOS 4.1-*/}
IE is still tricky: because IE9 previously only supported the EOT format, you need to convert TTF to EOT, where you can use Microsoft's official weft software, or you can use some online tools: http://www.kirsle.net/wizards/ttf2eot.cgi Online TTF for EOT format; http://www.fontsquirrel.com/fontface/generator powerful online ttf for EOT, Woff and other font formats
Not going to the meeting, just a process!
This article is from the "Happy and simple" blog, make sure to keep this source http://1120173856.blog.51cto.com/2882946/1636538
HTML [email protected] import fonts