regluit/static/less/mixins/opacity.less

9 lines
148 B
Plaintext
Raw Normal View History

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