body{font:62.5% Arial, Helvetica, sans-serif,"宋體";}.nav li{font:1.6em/54px;}"font:1.6em/54px"不管用, 為何
2 回答

阿波羅的戰(zhàn)車
TA貢獻1862條經(jīng)驗 獲得超6個贊
把font:1.6em/54px改為font:54px/1.6em;即可,建議書寫完整。
簡寫順序:font-style | font-variant | font-weight | font-size | line-height | font-family
font-style:italic;
font-variant:small-caps;
font-weight:bold;
font-size:12px;
line-height:1.5em;
font-family:arial,verdana;
簡寫格式:
font:italic small-caps bold 12px/1.5em arial,verdana;
說明:簡寫時font-size和line-height,只能通過斜杠/組成
添加回答
舉報
0/150
提交
取消