Reputation: 21285
What is 14px/24px here? Which is the real font size?
Upvotes: 38
Views: 44160
Reputation: 195982
First is font-size
the second is line-height
Quote from the specification for font shorthand
'font'
Value: [ [ <'font-style'> || <'font-variant'> || <'font-weight'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar | inherit
Upvotes: 6
Reputation: 12935
This is equivalent to
#html{
font-size:14px;
line-height:24px;
font-family: Arial, Helvetica, sans-serif;
}
Upvotes: 3
Reputation: 228162
It's the shorthand for the different font related properties. It means:
font-size: 14px;
line-height: 24px;
font-family: Arial, Helvetica, sans-serif
See: http://www.impressivewebs.com/css-font-shorthand-property-cheat-sheet/
Upvotes: 53