Sha256: 2058c0b0631629ece8ecc6e64a29136b92b6a1d7e514970a06c2d0ba35e3a055

Contents?: true

Size: 760 Bytes

Versions: 26

Compression:

Stored size: 760 Bytes

Contents

// Background Size
@import "compass/support";

// The the user threshold for background-clip support. Defaults to `$critical-usage-threshold`
$background-size-threshold: $critical-usage-threshold !default;

//  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...) {
  $size: set-arglist-default($size, $default-background-size);
  @include prefixed-properties(background-img-opts, $background-size-threshold, (background-size: $size));
}

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
compass-0.13.alpha.10 frameworks/compass/stylesheets/compass/css3/_background-size.scss
compass-0.13.alpha.9 frameworks/compass/stylesheets/compass/css3/_background-size.scss
compass-0.13.alpha.8 frameworks/compass/stylesheets/compass/css3/_background-size.scss
compass-0.13.alpha.7 frameworks/compass/stylesheets/compass/css3/_background-size.scss
compass-0.13.alpha.6 frameworks/compass/stylesheets/compass/css3/_background-size.scss
compass-0.13.alpha.5 frameworks/compass/stylesheets/compass/css3/_background-size.scss