engelsystem/vendor/bootstrap-3.2.0/mixins/_opacity.scss

9 lines
152 B
SCSS
Raw Normal View History

2014-08-22 22:34:13 +02:00
// Opacity
@mixin opacity($opacity) {
opacity: $opacity;
// IE8 filter
$opacity-ie: ($opacity * 100);
filter: #{alpha(opacity=$opacity-ie)};
}