1 回复
可以, 字体放入到服务器, 远程地址引用就可以了, 例如:
[@font-face](/user/font-face) { font-family : "iconfont" ; src : url ( '//at.alicdn.com/t/xxx.eot?t=1482899691162' ); /* IE9*/ src : url ( '//at.alicdn.com/t/xxx.eot?t=1482899691162#iefix' ) format ( 'embedded-opentype' ), /* IE6-IE8 */ url ( '//at.alicdn.com/t/xxx.woff?t=1482899691162' ) format ( 'woff' ), /* chrome, firefox */ url ( '//at.alicdn.com/t/xxx.ttf?t=1482899691162' ) format ( 'truetype' ), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ url ( '//at.alicdn.com/xxx.svg?t=1482899691162#iconfont' ) format ( 'svg' ); /* iOS 4.1- */ } |