CSS font smoothing with antialiasing

February 2019

For easy reference. This is how to use font-smoothing in CSS:

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

If you want to cancel this effect, set both to auto.

You may also be interested in my post on the system font stack.