Do I still have to use all five vendor prefixes for the CSS box-shadow property?

后端 未结 3 1365
慢半拍i
慢半拍i 2021-02-19 13:25

When declaring say box-shadow or text-shadow or gradients for that matter, do you still need all the prefixes?

-webkit-box-shadow: inse         


        
3条回答
  •  梦如初夏
    2021-02-19 14:16

    With the continued improvement of browsers, it has become hard to determine whether it is possible to drop the vendor prefixes of certain CSS3 additions. Because CSS3 is "modular-ized" and goes through slow changes both in syntax and browser support - it is probably best to stick with the vendor prefixes until all of these quirks have been sifted out by the W3C and browsers alike. As stated above, you can always look to specific browsers or help sites for information about legacy browser support.

提交回复
热议问题