标签: css fonts
可能重复: What does this CSS shorthand font syntax mean?
有时使用两个值指定字体,例如
font: 14px/60px
为什么指定了两个值?什么时候使用60px?感谢。
答案 0 :(得分:34)
60px是线高。它是:
font-size: 14px; line-height: 60px;
答案 1 :(得分:5)
60px将是行高值
请参阅http://www.developerfusion.com/code/5342/css-font-shorthand-rule/
答案 2 :(得分:5)
第一个值给出字体大小,第二个值给出行高。