Support background-clip:text
This commit is contained in:
parent
8d4c47058c
commit
cc7ef3bf1f
@ -15,10 +15,12 @@ $default-background-clip: padding-box !default;
|
||||
//
|
||||
// * padding-box
|
||||
// * border-box
|
||||
// * text
|
||||
|
||||
@mixin background-clip($clip: $default-background-clip) {
|
||||
// webkit and mozilla use the deprecated short [border | padding]
|
||||
$deprecated: padding;
|
||||
$deprecated: $clip;
|
||||
@if $clip == padding-box { $deprecated: padding; }
|
||||
@if $clip == border-box { $deprecated: border; }
|
||||
// Support for webkit and mozilla's use of the deprecated short form
|
||||
@include experimental(background-clip, $deprecated,
|
||||
|
Loading…
Reference in New Issue
Block a user