Skip to content

Instantly share code, notes, and snippets.

@dfadler
Last active August 29, 2015 13:56
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 dfadler/9053207 to your computer and use it in GitHub Desktop.
Save dfadler/9053207 to your computer and use it in GitHub Desktop.
css_dir = "/css"
images_dir = "/images"
$mapped-images-sprite-dimensions: true
$mapped-images-spacing: 10px
@import "mapped-images/*.png"
.logo {
text-indent:-119988px;
overflow:hidden;
text-align:left;
display:block;
margin:0 35px 0 2%;
float:left;
background-position:0 0;
height:75px;
width:172px;
}
.logo {
background:url(../images/mapped-images-sb93e4f88e0.png) no-repeat;
}
@import 'compass'
@import 'sprite-configuration'
.logo
+hide-text
display: block
margin: 0px 35px 0px 2%
float: left
+mapped-images-sprite('logo')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment