{"id":14053,"date":"2011-09-05T20:43:54","date_gmt":"2011-09-06T03:43:54","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=14053"},"modified":"2022-09-22T14:43:29","modified_gmt":"2022-09-22T21:43:29","slug":"font","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/f\/font\/","title":{"rendered":"font"},"content":{"rendered":"

The font<\/code> property in CSS is a shorthand property that combines all the following sub-properties in a single declaration.<\/p>\n

body {\n  font: normal small-caps normal 16px\/1.4 Georgia;\n}\n\n\/* is the same as:\n\nbody {\n  font-family: Georgia;\n  line-height: 1.4;\n  font-weight: normal;\n  font-stretch: normal;\n  font-variant: small-caps;\n  font-size: 16px;\n}\n *\/<\/code><\/pre>\n

There are seven font<\/code> sub-properties, including:<\/p>\n