tupali/temas/magazine/sass/bootstrap/mixins/_opacity.scss

9 lines
149 B
SCSS
Raw Permalink Normal View History

2016-10-29 15:07:15 +00:00
// Opacity
@mixin opacity($opacity) {
opacity: $opacity;
// IE8 filter
$opacity-ie: ($opacity * 100);
filter: alpha(opacity=$opacity-ie);
}