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:
parent
234304d713
commit
205f059adb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user