Skip to main content

Timeline for answer to Size of font in CSS with slash by Konrad Rudolph

Current License: CC BY-SA 3.0

Post Revisions

8 events
when toggle format what by license comment
Jul 1, 2013 at 12:24 history edited Konrad Rudolph CC BY-SA 3.0
More info
Jul 1, 2013 at 12:12 comment added kumarharsh thanks for the clarification. Perhaps you can update the answer (or the question) as it is slightly misleading in that a casual reader can assume that only a SIZE/LINE_HEIGHT declaration would work.
Jul 1, 2013 at 11:34 comment added Konrad Rudolph @Harsh Yes, a family (along with a size) is minimally required for the font shorthand property as you can see in the official definition.
Jul 1, 2013 at 11:28 comment added kumarharsh a quickie: does this format also not require the font-family to be specified? My browsers are ignoring this property: font: 12px/16px; but accepting this: font: 12px/16px sans-serif; This behaviour is also documented here
Mar 7, 2013 at 20:08 comment added Dylan Lukes I actually use this quite a bit. The designer I work with always refers to sizing as, for example, "14 over 22". I put it in by accident one day and was surprised/content when it worked.
Apr 14, 2009 at 12:42 vote accept Alex
Mar 31, 2009 at 16:06 comment added David M It's to mirror old typesetting syntax, where you'd have font set as, for instance "10pt on 12pt", or "10pt/12pt".
Mar 31, 2009 at 16:01 history answered Konrad Rudolph CC BY-SA 2.5