How do I find out when I can safely drop vendor prefixes for a CSS3 property?

≯℡__Kan透↙ 提交于 2019-12-17 14:56:11

问题


I was testing some CSS3 stuff and I discovered that some properties like border-radius don't need the vendor prefix anymore (at least on recent up to date browsers).

My next website will only target recent browsers like IE9/Chrome 15+/FF8+, so I was wondering:

Is there a list of the current CSS3 properties where I can see which of them I can safely drop vendor prefixes for?

Note: I'm not interested in JS hacks that automatically insert prefixed properties.


回答1:


When can I use... contains browser support tables with convenient indicators of which versions of which browsers require the vendor-prefixed versions of various CSS3 features, as well as features in other standards like HTML5, its new JavaScript APIs, SVG, etc. That should be the first place you stop at.

The site is updated regularly (for now, at least) as new versions of browsers are released and the drafts of the relevant CSS3 modules are updated.




回答2:


http://html5please.us/ Offers a similar service but they also provide advice on fallbacks for CSS3 properties where appropriate. I find both sites useful.



来源:https://stackoverflow.com/questions/9211602/how-do-i-find-out-when-i-can-safely-drop-vendor-prefixes-for-a-css3-property

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!