SASS Mixin : Opacity

, by

A little SASS mixin to make opacity compatible IE8 & IE7.

@mixin opacity($value){
  opacity: $value;
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity="+$value*100+")"; 
  /* IE 5-7 */
  filter: alpha(opacity=$value*100); 
}