Skip to content

Instantly share code, notes, and snippets.

View lnorton89's full-sized avatar

Lawrence lnorton89

View GitHub Profile
@lnorton89
lnorton89 / better-font-smoothing.css
Created November 9, 2017 15:31 — forked from hsleonis/better-font-smoothing.css
Better font smoothing in cross browser
html {
/* Adjust font size */
font-size: 100%;
-webkit-text-size-adjust: 100%;
/* Font varient */
font-variant-ligatures: none;
-webkit-font-variant-ligatures: none;
/* Smoothing */
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;