Last active
August 29, 2015 14:24
-
-
Save erickjones/440255b3020299229581 to your computer and use it in GitHub Desktop.
Mixin and Include
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 transform-rotate($rotateValue) { | |
-webkit-transform: rotate($rotateValue); /* Ch <36, Saf 5.1+, iOS, An =<4.4.4 */ | |
-ms-transform: rotate($rotateValue); /* IE 9 */ | |
transform: rotate($rotateValue); /* IE 10, Fx 16+, Op 12.1+ */ | |
} | |
.green-dog { | |
@include transform-rotate(30deg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment