CSS font smoothing with antialiasing

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.

I'm Mark Thomas Miller, an engineer, designer, and maker of things.