@font-face{? ? font-family: "Raphaelicons";? ? src:url('fonts/raphaelicons-webfont.eot') format('eot'),? ? ? ? url('fonts/raphaelicons-webfont.svg') format('svg'),? ? ? ? url('fonts/raphaelicons-webfont.ttf') format('truetype'),? ? ? ? url('fonts/raphaelicons-webfont.woff') format('woff');? ? ? ? font-weight: normal;? ? ? ? font-style: normal;}[date-icon]:after{ font-family: "Raphaelicons"; content: attr(date-icon); width: 200px; height: 200px; background: #0f0; color: #fff; font-size: 90px; text-align: center; line-height: 200px; position: absolute; left: 50%; top: 50%;}
2 回答
已采納

HalfAnHour
TA貢獻(xiàn)52條經(jīng)驗 獲得超73個贊
css下面的style.css要應(yīng)用fonts里面的字體文件,你就要返回上一層,進(jìn)入fonts文件。所以就是../fonts
- 2 回答
- 0 關(guān)注
- 1398 瀏覽
添加回答
舉報
0/150
提交
取消