body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
The font-smooth CSS property controls the application of anti-aliasing when fonts are rendered. This feature is non-standard and is not on a standards track. It depends on the browser used and the system specifications; thus, it may not work for every user.