no prefixes on opacity

This commit is contained in:
Eric Meyer 2010-07-18 15:17:40 -06:00
parent 1b7a9e5751
commit 8bd3a48488

View File

@ -6,13 +6,12 @@
// A number between 0 and 1, where 0 is transparent and 1 is opaque. // A number between 0 and 1, where 0 is transparent and 1 is opaque.
@mixin opacity($opacity) { @mixin opacity($opacity) {
// XXX consider only using the official property. I think -moz, -webkit, and -o support it.
@include experimental(opacity, $opacity, @include experimental(opacity, $opacity,
-moz, not -moz,
-webkit, not -webkit,
-o, not -o,
not -ms, // microsoft uses the filters below instead not -ms, // microsoft uses the filters below instead
-khtml, not -khtml,
official official
); );
@if $experimental-support-for-microsoft { @if $experimental-support-for-microsoft {