property

Font smooth — CSS reference

Nonstandard historical font smoothing control. Related vendor-specific declarations use different values and may only affect rendering on particular platforms. Do not force smoothing for readability; choose a readable font, size and contrast instead.

Formal Syntax & Structure

css syntaxcss
font-smooth: always;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>font-smooth</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{font:18px/1.5 sans-serif;font-smooth:always}</style><body><p id="a">Readable text</p></body></html>
CSS Reference