2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Fixes #6935: Use standard decimal points for .opacity() mixin

This commit is contained in:
Mark Otto
2013-02-28 19:46:49 -08:00
parent 0dea8b0c74
commit b19eb88b5a
8 changed files with 15 additions and 12 deletions
+4 -2
View File
@@ -291,8 +291,10 @@
// Opacity
.opacity(@opacity) {
opacity: @opacity / 100;
filter: ~"alpha(opacity=@{opacity})"; // IE8
opacity: @opacity;
// IE8 filter
@opacity-ie: @opacity * 100;
filter: ~"alpha(opacity=@{opacity-ie})";
}