q3stats/frontend/sass/vendor/bootstrap/mixins/_opacity.scss

9 lines
149 B
SCSS
Raw Normal View History

2017-03-06 19:33:09 +00:00
// Opacity
@mixin opacity($opacity) {
opacity: $opacity;
// IE8 filter
$opacity-ie: ($opacity * 100);
filter: alpha(opacity=$opacity-ie);
}