关于box-shadow的ie兼容问题(ie6、7、8)

有两种方法:

(1)使用滤镜:

        filter:progid:DxImageTransform.Microsoft.Shadow(color=’rgba(,0,0,0,1)’,Direction=135,stregth=5);

        Background:#color;(注:必须有background)

(2)behavior:url(ie-css3.htc);引入ie-css.htc文件


猜你喜欢

转载自blog.csdn.net/qq_42566295/article/details/81032338