由於某些原因,Safari在轉換過程中將光線@ font-face字體加粗。Safari瀏覽器在光標處加上一條光@ font-face字體
http://fine-grain-2.myshopify.com
這裏是我的@ font-臉聲明:
@font-face {
font-family: Avenir;
font-weight: normal;
font-style: normal;
src: url("AvenirLTStd-Medium.otf") format("opentype");
}
@font-face {
font-family: AvenirBold;
font-weight: normal;
font-style: normal;
src: url("AvenirLTStd-Black.otf") format("opentype");
}
@font-face {
font-family: AvenirLight;
font-weight: lighter;
font-style: normal;
src: url("AvenirLTStd-Light.otf") format("opentype");
}
當你將鼠標懸停在產品圖片,你可以一秒鐘後看到Safari瀏覽器加入大膽的文字
下面是我在CSS中聲明字體系列的地方:
body {
background: none repeat scroll 0 0 #999999;
font-family: AvenirLight;
font-weight: lighter;
}
該頁面相當複雜。嘗試將問題簡化爲簡單的測試用例。 – 2013-03-01 19:12:02