1.编写兼容性代码
例如透明度,兼容IE
@mixin mOpacity($o){ opacity:$o/100; filter:alpha(opacity=$o); } //引用 .box{ @include mOpacity(80);//将透明度设置为80% }
。。。。更新中