LESS - 透明度混入类

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

.opacity(value: 0) {
    @ie6_value:         (@value * 100);
    
    -khtml-opacity:     @value;
      -moz-opacity:     @value;
           opacity:     @value;
           
    filter: ~'alpha(opacity=@{ie6_value})';
}