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

前端 未结 3 1854
终归单人心
终归单人心 2020-11-30 16:00

Given that I\'m not really bothered about backwards compatibility (I\'m exploring CSS3 and HTML5 based design, rather than relying on on graphics and such) what are the bene

相关标签:
3条回答
  • 2020-11-30 16:10

    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/

    0 讨论(0)
  • 2020-11-30 16:14

    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.

    0 讨论(0)
  • 2020-11-30 16:23

    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.

    0 讨论(0)
提交回复
热议问题