Last active
August 23, 2016 08:37
-
-
Save tankbar/85316b0d193f968e4db0ef0730749e4f to your computer and use it in GitHub Desktop.
CSS default font-smoothing for typography.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// These text rendering optimization settings are default on all our sites from 2016. | |
body { | |
-moz-font-smoothing: antialiased; | |
-webkit-font-smoothing: antialiased; | |
text-rendering: optimizeLegibility; | |
/* Recommended default font-size and line-height */ | |
line-height: 1.5; | |
font-size: 16px; | |
font-size: 1rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment