CSS antialiasing

Here’s a 4-line snippet on how to get beautiful, antialiased text with CSS.

A cheatsheet by @rstacruz|Refreshed 7 months ago.Refresh|View source on Github

Antialias

Antialias

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

Support

Support

  • Firefox 25+ on OSX
  • Webkits (Chrome, Safari, etc)