Created
July 26, 2013 19:27
-
-
Save ischenkodv/6091581 to your computer and use it in GitHub Desktop.
CSS rotate element 5 degrees in IE
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
/* 5 degree */ | |
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.99, M12=-0.08, M21=0.08, M22=0.99, SizingMethod="auto expand"); | |
/* | |
m11 = sin (5 * pi / 180) | |
m12 = cos (5 * pi / 180) | |
m21 = cos (5 * pi/ 180) | |
m22 = sin (5 * pi / 180) | |
*/ | |
filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476); /* IE6,IE7 */ | |
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"; /* IE8 */ | |
/* http://stackoverflow.com/questions/4617220/css-rotate-property-in-ie */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment