admin管理员组文章数量:1355713
I'm trying to write something in JS that allows me to tell whether a user's browser supports CSS3 blur
, and display (or not display) an element as necessary. It doesn't look like Modernizr supports it, and I really couldn't figure out another way to check this. How can I do this?
I'm trying to write something in JS that allows me to tell whether a user's browser supports CSS3 blur
, and display (or not display) an element as necessary. It doesn't look like Modernizr supports it, and I really couldn't figure out another way to check this. How can I do this?
- raw.github./Modernizr/Modernizr/master/feature-detects/css/… – Derek 朕會功夫 Commented Oct 15, 2013 at 7:06
- I saw, but that's the filter property, which most browsers support… – daviesgeek Commented Oct 15, 2013 at 21:47
-
Currently, only webkit browsers support the
filter
property. – Boaz Commented Oct 19, 2013 at 18:26 - According to jQuery.support.filter…Firefox supports it… – daviesgeek Commented Oct 19, 2013 at 21:02
1 Answer
Reset to default 13blur
is actually a value of the CSS filter
property, and not a CSS property within itself.
To check for support of the CSS3 filter
property with modernizr, you can simply use the Modernizr.cssfilters
value.
本文标签: javascriptHow can I detect whether a browser supports CSS3 blurStack Overflow
版权声明:本文标题:javascript - How can I detect whether a browser supports CSS3 blur? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744031783a2579044.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论