Skip to content

Instantly share code, notes, and snippets.

@jonesch
Created October 8, 2013 19:32
Show Gist options
  • Save jonesch/6890218 to your computer and use it in GitHub Desktop.
Save jonesch/6890218 to your computer and use it in GitHub Desktop.
Simple Mixin for Global Sprite
// Setup
@mixin global-sprite($x-value, $y-value){
background: transparent url(../img/sprite-global-assets.png) $x-value $y-value no-repeat;
}
// Usage
@include global-sprite(0, -40px);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment