Sha256: 40a707e660109a2dce8d42c218d241167ed9179a92ce9be8e3b09466b6041a59

Contents?: true

Size: 863 Bytes

Versions: 48

Compression:

Stored size: 863 Bytes

Contents

@import "shared";

//  override to change the default
$default-background-size: 100% auto !default;

// Set the size of background images using px, width and height, or percentages.
// Currently supported in: Opera, Gecko, Webkit.
//
// * percentages are relative to the background-origin (default = padding-box)
// * mixin defaults to: `$default-background-size`
@mixin background-size(
  $size-1: $default-background-size,
  $size-2: false,
  $size-3: false,
  $size-4: false,
  $size-5: false,
  $size-6: false,
  $size-7: false,
  $size-8: false,
  $size-9: false,
  $size-10: false
) {
  $size-1: if(type-of($size-1) == string, unquote($size-1), $size-1);
  $sizes: compact($size-1, $size-2, $size-3, $size-4, $size-5, $size-6, $size-7, $size-8, $size-9, $size-10);
  @include experimental(background-size, $sizes, -moz, -webkit, -o, not -ms, not -khtml);
}

Version data entries

48 entries across 47 versions & 8 rubygems

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