Created
May 8, 2014 15:28
-
-
Save taupecat/152ddee8bd7dfdc2594e to your computer and use it in GitHub Desktop.
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 highlight($adjustment: 0) { | |
$color-test: rgba(255, 0, 255, 0.2); | |
background-color: adjust-hue($color-test, $adjustment * 1deg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A little mixin for adding a semi-transparent background color (defaults to magenta at 20% opacity, but the hue can be adjusted with a parameter) for development/debugging purposes.