Created
January 31, 2014 03:31
-
-
Save iamtyce/8726203 to your computer and use it in GitHub Desktop.
Super simple mixin to transform elements in IE8, use alongside your CSS3 transform mixins.
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
// Rotate (IE) | |
// Usage: @include rotate-ie(1) | |
// 1 = 90 degrees | |
// 2 = 180 degrees | |
// 3 = 270 degrees | |
// 4 = 360 degrees | |
@mixin rotate-ie($value: 0) { | |
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$value}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment