Skip to content

Instantly share code, notes, and snippets.

@scsskid
Created August 18, 2015 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scsskid/596a4347cc28362c076c to your computer and use it in GitHub Desktop.
Save scsskid/596a4347cc28362c076c to your computer and use it in GitHub Desktop.
//Font Smoothing
//src: http://maximilianhoffmann.com/posts/better-font-rendering-on-osx
@mixin font-smoothing($value: on) {
@if $value == on {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@else {
-webkit-font-smoothing: subpixel-antialiased;
-moz-osx-font-smoothing: auto;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment