switching/sass/bootstrap/mixins/_opacity.scss

9 lines
149 B
SCSS
Raw Normal View History

2019-08-21 09:57:48 +00:00
// Opacity
@mixin opacity($opacity) {
opacity: $opacity;
// IE8 filter
$opacity-ie: ($opacity * 100);
filter: alpha(opacity=$opacity-ie);
}