- Description
Shorthand statement to set multiple font attributes.
font-style, font-variant and font-weight must come before font-size and font-family and are optional.
line-height is optional and must come after font-size and /.
font-size and font-family are required.See Also
- Live Example
- Play with the code in the textarea below.
- Values
- font-style font-variant font-weight/line-height font-size font-family
- Introduced in CSS version
- 1
- Applies to elements
- All
- Inherited
- Yes
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 5 1 1 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties