anonymousland/_sass/bootstrap/mixins/_opacity.scss

9 lines
149 B
SCSS
Raw Normal View History

2022-11-12 21:52:54 -05:00
// Opacity
@mixin opacity($opacity) {
opacity: $opacity;
// IE8 filter
$opacity-ie: ($opacity * 100);
filter: alpha(opacity=$opacity-ie);
}