Sha256: 7dbd4bcc1f0d4aba32334acf2a9503222c6232415020e230db2a4dc9ed7ae794

Contents?: true

Size: 316 Bytes

Versions: 2

Compression:

Stored size: 316 Bytes

Contents

// Opacity
//
// $level - The opacity level, a number ranging from 0 to 1
//
// Usage:
//
//   @include opacity(0.8);
//
@mixin opacity($level: 1) {
  $ms-level: $level*100;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=#{$ms-level})";
  filter: alpha(opacity=#{$ms-level});
  opacity: #{$level};
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
boarding_pass-1.0.0.beta2 app/assets/stylesheets/boarding_pass/_mixins.scss
boarding_pass-1.0.0.beta1 app/assets/stylesheets/boarding_pass/_mixins.scss