Thanks for responding Chris! I'm sure that I'm missing something obvious, but here is what I've been using for my sprite code:
@mixin replace($width: false, $height: false) {
@if $width {
width: $width;
}
@if $height {
height: $height;
}
background-repeat: no-repeat;
text-indent: 100%;
whitespace: nowrap;
display: block;
overflow: hidden;
text-align: left;
direction: ltr;
font-size: 1px;
}
@import "icons/*.png";
a {
text-decoration: none;
@include replace(318px, 69px);
@include icons-sprite(green_header_logo, true);
}
What I would like to do is to be able to replace the text with the sprite, and have the dimensions of the sprite pass through into the replaced text element.
Please pardon my naivety.
Jesse