blob: 87883588f2d8733121cf0026c90a9e41127540e8 (
plain)
1
2
3
4
5
6
7
|
/// Mixin helper to add opacity rules
/// @param {number} $opacity - Opacity CSS value
@mixin opacity($opacity) {
opacity: $opacity;
$opacity-ie: $opacity * 100;
filter: alpha(opacity=$opacity-ie); // IE8
}
|