phpvms/public/assets/frontend/sass/now-ui-kit/mixins/_transparency.scss

9 lines
152 B
SCSS
Raw Normal View History

2017-07-28 20:13:52 +08:00
// Opacity
@mixin opacity($opacity) {
opacity: $opacity;
// IE8 filter
$opacity-ie: ($opacity * 100);
filter: #{alpha(opacity=$opacity-ie)};
}