[英]CSS @font-face doesn't render
我在網站的樣式表中使用以下代碼,但是當我在瀏覽器中運行它時,它將不會呈現,字體也不會呈現。 我究竟做錯了什么?
@font-face {
font-family: 'Libel Suit';
src: url('my.ip.n.n/~/wordpress/fonts/libelsuit.woff') format('woff'),
url('my.ip.n.n/~/wordpress/fonts/libelsuit.ttf') format('truetype');
// These aren't the exact URLS I'm using, since I don't want the
// world to know my ip address
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.