Heim  >  Fragen und Antworten  >  Hauptteil

css - -moz-box-shadow这么写在火狐上没有效果怎么回事

css3兼容性写法不都是这么写的吗

-moz-border-radius-topleft: 12px;
-o-border-radius-bottomleft:45px;
-webkit-border-top-left-radius: 12px;

为什么 -moz-box-shadow没效果 反而这么写 box-shadow有效果几个意思 。但是这么写的话在其他浏览器就没有效果了啊又

迷茫迷茫2714 Tage vor637

Antworte allen(2)Ich werde antworten

  • 巴扎黑

    巴扎黑2017-04-17 14:48:41

    caniuse上,FireFox4 以上就不用前缀了……前缀只是浏览器的私有实现而已,并不一定就是必须的。

    Antwort
    0
  • PHPz

    PHPz2017-04-17 14:48:41

    不管怎么样, 最后加上个不带前缀的, 若值与众不同的, 排放在后边

    Antwort
    0
  • StornierenAntwort