Skip to content

Commit

Permalink
Support background-clip:text
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Reynolds authored and chriseppstein committed Apr 27, 2010
1 parent 8d4c470 commit cc7ef3b
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -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,
Expand Down

0 comments on commit cc7ef3b

Please sign in to comment.