Skip to content

Instantly share code, notes, and snippets.

@martisj
Last active August 29, 2015 14:16
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 martisj/ffbefc202b4930c771ec to your computer and use it in GitHub Desktop.
Save martisj/ffbefc202b4930c771ec to your computer and use it in GitHub Desktop.
A mixin to help my forgetful brain convert Photoshop tracking settings from the `Character` panel to meaningful CSS letter-spacing.
@mixin psd-tracking($tracking) {
letter-spacing: #{$tracking / 1000}em;
}
// To use do: `@include psd-tracking(50);` if your Photoshop character panel says 60.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment