summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_opacity.scss
blob: 88e9a576abd795a9d0734542ff7e58e44a08d9a3 (plain)
1
2
3
4
5
6
7
8
// Opacity

@mixin opacity($opacity) {
  opacity: $opacity;
  // IE8 filter
  $opacity-ie: ($opacity * 100);
  filter: alpha(opacity=$opacity-ie);
}