no prefixes on opacity
This commit is contained in:
parent
ea355b8cf0
commit
63d0acc2ac
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user