看起來像firefox在理解我想要從他身上遇到麻煩。 Chrome非常瞭解我。但是,當我寫(font-face:normal)屬性時,firefox會拒絕理解想要「正常」字體的情況。它使得我的塊「ligter」像父塊中的字體一樣.WHY!?!? !?firefox中的字體面貌26-31
@font-face{
font-family:Myriad;
src:url('../fonts/MyriadPro-R.ttf');
font-weight:normal;
font-style:normal;
}
@font-face{
font-family:Myriad;
src:url('../fonts/MyriadPro-B.ttf');
font-weight:bold;
font-style:normal;
}
@font-face{
font-family:Myriad;
src:url('../fonts/MyriadPro-L.ttf');
font-weight:lighter;
font-style:normal;
}
你爲什麼不使用免費的Web字體?加載**授權** Myriad Pro字體看起來不正確。從CSS規範中,'normal' = 400.加載的字體是否具有400的字體重量?另外,在'font-family'中只使用1種字體是非常糟糕的做法(不提供回退);至少添加1個後備字體,特別是使用自定義字體。 – Raptor 2014-09-03 08:16:47