Re: Image sprites use cases

On Aug 30, 2009, at 7:40 PM, Brad Kemper <brad.kemper@gmail.com> wrote:

>> Note, though, that doing so *still* isn't backwards-compatible.  A
>> legacy browser would see the normal url(), ignore the
>> background-image-region property.
>
> I was thinking of that as a feature, not a problem, but maybe not.

What I mean, for instance is that I could use multiple backgrounds or  
a 'sliding doors' technique for a base button for compatibility. Then  
use the fragment notation, without respecifying the file name, to  
access the parts of the image that are clipped.

But in further thinking, I suppose this is still not much better than  
using background-position, and doesn't help much with using sprites  
with border-image. Oh well, it was a thought, and maybe it will  
trigger a better idea from someone else. 

Received on Monday, 31 August 2009 04:42:33 UTC