Sha256: e879b321a8743b15fc49beb8d2c407fdde0fe2ce9c5b6ba433d8be896e49c943

Contents?: true

Size: 1.09 KB

Versions: 27

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,
    not -o,
    not -ms,
    -khtml,
    official
  );
}

Version data entries

27 entries across 26 versions & 5 rubygems

Version Path
egghead-styles-1.0.82 app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss
egghead-styles-1.0.81 app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss
egghead-styles-1.0.80 app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss
egghead-styles-1.0.79 app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss
egghead-styles-1.0.78 app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss
egghead-styles-1.0.77 app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss
egghead-styles-1.0.76 app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss
egghead-styles-1.0.75 app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss
egghead-styles-1.0.74 app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss
egghead-styles-1.0.73 app/assets/stylesheets/plugins/compass/compass/css3/_background-clip.scss
compass-0.12.7 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/frameworks/compass/stylesheets/compass/css3/_background-clip.scss
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.12.6 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.12.5 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.12.4 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-0.12.3 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
compass-sourcemaps-0.12.4.sourcemaps.a4836f1 frameworks/compass/stylesheets/compass/css3/_background-clip.scss
simple-compass-0.0.1 sass/compass/css3/_background-clip.scss
compass-0.12.2 frameworks/compass/stylesheets/compass/css3/_background-clip.scss