What is the proper way to order vendor prefixes?

后端 未结 3 613
一生所求
一生所求 2020-12-06 11:47

The rub

  • CSS Tricks says that the order of the display vendor prefixes for flexbox is important and shows one ordering (-web
3条回答
  •  Happy的楠姐
    2020-12-06 12:19

    Mostly, the order of the vendor prefixes aren't that important, but be sure that you are using the most standarized version by add the one without the vendor prefix (just flex) at the end. The CSS always prioritize the last if the properties are equal.

    Anyway, the flex without prefixing is now supported by the most common browsers: http://caniuse.com/#feat=flexbox. 96% of the browsers can use flexbox, and 82% of them do support flex without prefixing.

提交回复
热议问题