為什么這樣會(huì)用不了呢
@font-face {
? ? ? ? ? ? font-family:"imooc-icon";
? ? ? ? ? ? src:url("../icomoon/icomoon.eot") format('embedded-opentype'),
? ? ? ? ? ? ? ? url("../icomoon/icomoon.woff") format('woff'),
? ? ? ? ? ? ? ? url("../icomoon/icomoon.ttf") format('truetype'),
? ? ? ? ? ? ? ? url("../icomoon/icomoon.svg") format('svg');
? ? ? ? ? ? font-weight:normal;
? ? ? ? ? ? font-style:normal;
? ? ? ? }
? ? ? ? .imooc-icon {
? ? ? ? ? ? font-family:"imooc-icon";
? ? ? ? ? ? font-weight:normal;
? ? ? ? ? ? font-style:normal;
? ? ? ? }
2015-04-14
童鞋,src你還差一句(使用@font-face引入字體沒(méi)寫(xiě)全),可以參考老師視頻中講解的。