diff options
Diffstat (limited to 'bootstrap/less/mixins/opacity.less')
-rwxr-xr-x | bootstrap/less/mixins/opacity.less | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstrap/less/mixins/opacity.less b/bootstrap/less/mixins/opacity.less new file mode 100755 index 0000000..32cf411 --- /dev/null +++ b/bootstrap/less/mixins/opacity.less @@ -0,0 +1,7 @@ +// Opacity + +.opacity(@opacity) { + @opacity-ie: (@opacity * 100); // IE8 filter + filter: ~"alpha(opacity=@{opacity-ie})"; + opacity: @opacity; +} |