Skip to content

Instantly share code, notes, and snippets.

@adamstac
Created February 27, 2013 15:46
Show Gist options
  • Save adamstac/5048881 to your computer and use it in GitHub Desktop.
Save adamstac/5048881 to your computer and use it in GitHub Desktop.
WebKit font-smoothing Sass mixin
// WebKit font-smoothing
//------------------------------------------------
// References:
//
// 1. http://maxvoltar.com/sandbox/fontsmoothing/
// 2. http://maxvoltar.com/archive/-webkit-font-smoothing
//
// Values: none, antialiased (default), subpixel-antialiased
//
@mixin font-smoothing($value: antialiased) {
-webkit-font-smoothing: $value;
}
@andypmw
Copy link

andypmw commented Feb 4, 2016

Hi @adamstac and @jameswilson,
thanks for the snippet.

@fabiofidanza
Copy link

Thanks for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment