我創建字型,並將其應用到身體:爲什麼我的Google字體不能通過@ font-face加載?
@font-face {
font-family: 'Nosifer';
src: url('https://fonts.googleapis.com/css?family=Nosifer');
}
body { font-family: 'Nosifer' }
<body>
This is text.
</body>
然而,Nosifer字體是不可見的。我究竟做錯了什麼?
URL到小提琴:http://jsfiddle.net/9mr7973y/
感謝。造成這個問題我尋找這個問題的解決方案:https://stackoverflow.com/questions/46764887/how-to-load-fonts-automatically-on-the-website?noredirect=1#comment80475104_46764887如果字體的面孔是說瀏覽器加載字體的方式。 – Yoda