CSS Font-Smooth Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

This property allows author control over applying anti-aliasing fonts when rendered.

Syntax

font-smooth: [value];

Possible values

  • auto - [Smooth text according to system defaults.]
  • never - [Don't smooth text.]
  • always - [Always smooth text at any size ]
  • [absolute-size] - [If the actual value of the font-size property for the element is greater than or equal to the value specified, then apply font smoothing when rendering the text.]

Initial Value

Auto

Applies To

All elements and generated content

Inherited

Yes

Media

Visual

Example

p {
  font-smooth: always;
}


View All CSS Properties