Last active
December 12, 2015 05:39
-
-
Save brandonstephens/4723614 to your computer and use it in GitHub Desktop.
Pass in an rgba value and this mixin provides a hex fallback for non alpha supporting browsers
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 fallBackground($color) { | |
background-color: rgb( red($color), green($color), blue($color) ); | |
background-color: $color; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment