Created
August 5, 2014 10:02
-
-
Save mathiasschopmans/672b3f2b0ca1ddb6ca17 to your computer and use it in GitHub Desktop.
Try to use compass' inline-image() with generated sprites.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$default-sprite-dimensions: true | |
$default-sprite-base-class: ".is" | |
@import "images/sprites/default/*.png" | |
@include all-default-sprites($prefix:"is") | |
.is | |
background-image: inline-image($default-sprites) | |
+inline-block | |
+hide-text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment