Do we have to use non-standard/browser specific CSS vendor prefixes anymore?

大兔子大兔子 提交于 2019-11-27 05:38:21

It really depends on which features and which browsers you want to fully support. Even now some browsers are lagging.

Here is a really excellent guide: http://caniuse.com/

All browsers generally move towards standards support.

There are two issues

  1. A lot of the CSS3 rules available to us to use are still under review - i.e. not part of any standard yet.
  2. Some people persist in using older versions of a browser, which may not have support for non-prefixed rules.

For these two reasons, we continue to use vendor-prefixed CSS rules in our stylesheets.

The only prefix you need right now is the -webkit for chrome and safari support. Webkit is needed for -webkit-animation, -webkit-font-feature-settings, display: -webkit-flex, -webkit-filter etc..

-ms, -o and -moz provide support for browsers that even their own companies have stopped supporting.

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