Last active
August 29, 2015 14:16
-
-
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.
This file contains 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
@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