1、清除浮动的兼容性(低版本的浏览器不兼容问题)

.clearfix:after{

  content:"";

  clear:both;

  display:block;

  visibility:hidden;

  height:0;

}

.clear{

       *zoom:1;

}

2、透明度的兼容性

opacity:0.3;

filter:alpha(opacity=30);

3、各种国外浏览器在CSS3中的兼容问题

国内的浏览器的内核都是谷歌

Chrome的前缀-webkit-

Firefox的前缀-moz-

IE的前缀-ms-

Opera的前缀-o-

相关文章:

  • 2022-12-23
  • 2022-01-05
  • 2021-12-20
  • 2021-11-28
  • 2021-05-01
  • 2021-12-02
  • 2021-08-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2021-10-14
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案