CSS font-style Property Reference

The CSS font-style property is a standard property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.

CSS font-style Property Reference

The CSS font-style property is a standard property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

font-style overview

The CSS font-style property is a standard property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

font-style formal syntax
FieldValue
Formal syntaxnormal | italic | oblique <angle>?
Initial valuenormal
Applies toallElementsAndText
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typebyComputedValueTypeNormalAnimatesAsObliqueZeroDeg
Mediavisual
Specification groupCSS Fonts
StatusStandard

Practical examples

These declarations demonstrate valid ways to set font-style. The initial and inherit global keywords remain available even when a property-specific value is preferable.

font-style live example
CSS .reset-example { font-style: initial; } .inherit-example { font-style: inherit; } @supports (font-style: initial) { .supported { font-style: initial; } }

Description

The CSS font-style property is a standard property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: font-style
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies