Sha256: bebbd54c0d387965a85a95b61b7b737adc72440962ae73a54155ab54ba1cddf9

Contents?: true

Size: 1.09 KB

Versions: 21

Compression:

Stored size: 1.09 KB

Contents

@import "shared";

// The default value is `padding-box` -- the box model used by modern browsers.
//
// If you wish to do so, you can override the default constant with `border-box`
//
// To override to the default border-box model, use this code:
//     $default-background-clip = border-box

$default-background-clip: padding-box !default;

// Clip the background (image and color) at the edge of the padding or border.
//
// Legal Values:
//
//   * padding-box
//   * border-box
//   * text

@mixin background-clip($clip: $default-background-clip) {
  // webkit and mozilla use the deprecated short [border | padding]
  $clip: unquote($clip);
  $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,
    -moz,
    -webkit,
    not -o,
    not -ms,
    not -khtml,
    not official
  );
  @include experimental(background-clip, $clip,
    not -moz,
    not -webkit,
    -o,
    -ms,
    -khtml,
    official
  );
}

Version data entries

21 entries across 18 versions & 2 rubygems

Version Path
frontsau-0.0.3 lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-clip.scss
frontsau-0.0.3 lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_background-clip.scss
frontsau-0.0.2 lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_background-clip.scss
frontsau-0.0.2 lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-clip.scss
frontsau-0.0.1 lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-clip.scss
frontsau-0.0.1 lib/Phamlp/sass/extensions/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.11.alpha.0 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.6 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.6.pre.1 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.5 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.5.pre.1 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.4 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.4.pre.4 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.4.pre.3 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.4.pre.2 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.3 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.3.pre.1 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.2 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.1 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.10.0 frameworks/compass/stylesheets/compass/css3/_background-clip.scss