added IE opacity rules to cover all versions

This commit is contained in:
collingo 2012-04-02 17:20:07 +01:00
parent 33cc13db4a
commit bc283625b3
1 changed files with 2 additions and 2 deletions

View File

@ -74,9 +74,9 @@
.opacity(@opacity: 0.5) {
@percent: @opacity * 100;
/* IE 8 */
-ms-filter: ~"progid:DXImageTransform.Microsoft.Alpha(opacity=(@{percentage}))";
-ms-filter: ~"progid:DXImageTransform.Microsoft.Alpha(opacity=(@{percent}))";
/* IE 5-7 */
filter: ~"alpha(opacity = (@{percentage}))";
filter: ~"alpha(opacity = (@{percent}))";
/* Netscape */
-moz-opacity: @opacity;
/* Safari 1.x */