no prefixes on opacity

This commit is contained in:
Eric Meyer 2010-07-18 15:17:40 -06:00 committed by Chris Eppstein
parent ea355b8cf0
commit 63d0acc2ac

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 {