web*_*gns 6 internet-explorer filter css3
我现在有
-moz-transform: rotate(-45deg) skewX(-45deg);
-ms-transform: rotate(-45deg) skew(-45deg,0deg);
-webkit-transform:rotate(-45deg) skewX(-45deg) ;
transform:rotate(-45deg) skewX(-45deg) ;
Run Code Online (Sandbox Code Playgroud)
到目前为止,我已经为ltie8旋转了
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678,sizingMethod='auto expand')";
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678,sizingMethod='auto expand');
Run Code Online (Sandbox Code Playgroud)
对于ie7或ie8,是否存在skewX(-45deg)的过滤器?
提前致谢!
我从github.com/heygrady/transform下载了一个精美的jquery插件但是更喜欢只在样式表中的过滤器
Jas*_*aro 11
当我添加这个时,我从CSS3 Transforms Translator得到了以下内容rotate(-45deg) skewX(-45deg).
更多信息:http://www.useragentman.com/IETransformsTranslator/
/*
* The following two rules are for IE only and
* should be wrapped in conditional comments.
* The -ms-filter rule should be on one line
* and always *before* the filter rule if
* used in the same rule.
*/
#transformedObject {
/* IE8+ - must be on one line, unfortunately */
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.7071067811865483, M12=0, M21=-0.7071067811865467, M22=1.4142135623730934, SizingMethod='auto expand')";
/* IE6 and 7 */
filter: progid:DXImageTransform.Microsoft.Matrix(
M11=0.7071067811865483,
M12=0,
M21=-0.7071067811865467,
M22=1.4142135623730934,
SizingMethod='auto expand');
/*
* To make the transform-origin be the middle of
* the object. Note: These numbers
* are approximations. For more accurate results,
* use Internet Explorer with this tool.
*/
margin-left: 29px;
margin-top: -96px;
}
Run Code Online (Sandbox Code Playgroud)