ant-design/components/style/mixins/opacity.less

9 lines
148 B
Plaintext
Raw Normal View History

2015-06-09 15:21:44 +08:00
// Opacity
.opacity(@opacity) {
opacity: @opacity;
// IE8 filter
@opacity-ie: (@opacity * 100);
filter: ~"alpha(opacity=@{opacity-ie})";
}