【发布时间】:2017-03-26 04:54:43
【问题描述】:
我使用 Font Squirrel Webfont Generator 创建了字体堆栈,并且 URLS 似乎工作得很好(我使用了整个地址来确定。)在没有安装字体的计算机上仍然看不到 webfont。所以不是通常的问题......有什么想法吗?非常感谢!
@font-face { font-family: 'NorthernSoul-Caps';
src: url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.eot'); /* IE9 Compat Modes */
src: url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.woff2') format('woff2'), /* Super Modern Browsers */
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.woff') format('woff'), /* Pretty Modern Browsers */
url('http://s471850234.onlinehome.us/wp-content/themes/xstore-child/fonts/NorthernSoul-Caps.ttf') format('truetype'), /* Safari, Android, iOS */
}
【问题讨论】:
标签: css fonts font-face webfonts