1
0
Fork 0
mirror of https://github.com/Oreolek/elements.git synced 2024-05-03 17:39:21 +03:00

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

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 */