Skip to content

Instantly share code, notes, and snippets.

@srikant
Created October 15, 2014 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srikant/678b7ec59405cb5585c5 to your computer and use it in GitHub Desktop.
Save srikant/678b7ec59405cb5585c5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.5)
// Compass (v1.0.1)
// ----
/* 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-orgin
// (default = padding-box)
// * mixin defaults to: $default-background-size
@mixin background-size($size-1:$default-background-size ){
foo: bar;
}
.block {
@include background-size;
}
/* override to change the default */
.block {
foo: bar;
}
<h1Hello>World!</h1Hello>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment