我正在寻找一个简单的CSS3转换代码的JQuery/JS回退.我的javascript非常基本,所以我找到并编写替换代码并不容易.我已经检查过modernizr但我并不是很了解很多文档.
它是transform: rotate(20deg)悬停时使用的图标 (这不是IE中支持的问题).但问题是转型,我正在使用
.icon{
....other css code
-webkit-transition: all 300ms linear;
-moz-transition: all 300ms linear;
-o-transition: all 300ms linear;
-ms-transition: all 300ms linear;
transition: all 300ms linear;
}
Run Code Online (Sandbox Code Playgroud)
这有一个JQuery后备吗?我在考虑,fadeIn();但我不知道我将如何编码.像这样的东西?:
<script>$(icon).hover(function (){$(icon).fadeIn("slow");}); </script>
Run Code Online (Sandbox Code Playgroud)
我如何让浏览器知道它是一个后备,以便他们只选择JQuery,如果它是IE?