summaryrefslogtreecommitdiff
path: root/bootstrap/fonts/less/mixins/opacity.less
blob: 32cf411fcd3b720e153e0f58947b324e83f6d2b6 (plain)
1
2
3
4
5
6
7
// Opacity

.opacity(@opacity) {
  @opacity-ie: (@opacity * 100);  // IE8 filter
  filter: ~"alpha(opacity=@{opacity-ie})";
  opacity: @opacity;
}