Changed the background property into

background-image property in order
to allow one to set a background-color;
previously, background-color was
overriden by the background style.
Also added background-repeat property.
This commit is contained in:
Xananax 2012-02-09 15:29:52 +02:00
parent 234304d713
commit 205f059adb

View File

@ -42,7 +42,8 @@ $<%= name %>-inline: false !default;
} }
} @else { } @else {
#{$<%= name %>-sprite-base-class} { #{$<%= name %>-sprite-base-class} {
background: $<%= name %>-sprites no-repeat; background-image: $<%= name %>-sprites;
background-repeat: no-repeat;
} }
} }
//sass functions to return the dimensions of a sprite image as units //sass functions to return the dimensions of a sprite image as units