开发者

Detect CSS3 with JQuery

Is there a way to detect whether a browser supports CSS3 transition开发者_开发百科s (-webkit-, -moz-, etc..) with JQuery?


You can use Modernizr css rule:

.csstransitions {
}

You can also use Isotope to achieve full hardware acceleration when possible, falling back to jQuery-based animation otherwise.


You can go for Modernizr to detect those as well as many other features you want to detect.

Note: You could also download custom version of Modernizr for the features you want to detect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜