dont need to call experimental for official-only
This commit is contained in:
parent
8bd3a48488
commit
0c4ced961b
@ -6,14 +6,7 @@
|
|||||||
// 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) {
|
||||||
@include experimental(opacity, $opacity,
|
opacity: $opacity;
|
||||||
not -moz,
|
|
||||||
not -webkit,
|
|
||||||
not -o,
|
|
||||||
not -ms, // microsoft uses the filters below instead
|
|
||||||
not -khtml,
|
|
||||||
official
|
|
||||||
);
|
|
||||||
@if $experimental-support-for-microsoft {
|
@if $experimental-support-for-microsoft {
|
||||||
$value: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{round($opacity * 100)})");
|
$value: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{round($opacity * 100)})");
|
||||||
@include experimental(filter, $value,
|
@include experimental(filter, $value,
|
||||||
|
Loading…
Reference in New Issue
Block a user