switching/sass/bootstrap/mixins/_opacity.scss
2019-08-21 12:57:48 +03:00

9 lines
149 B
SCSS
Executable File

// Opacity
@mixin opacity($opacity) {
opacity: $opacity;
// IE8 filter
$opacity-ie: ($opacity * 100);
filter: alpha(opacity=$opacity-ie);
}