Re: [css3-background] New use case for background-position-x (&y!)

On Nov 8, 2010, at 8:02 AM, Simon Fraser wrote:

> On Nov 8, 2010, at 1:36 AM, Lee Kowalkowski wrote:
> 
>> No idea if this is too late for the spec, I only just realised I
>> wanted this.  Hopefully it will pick up browser support regardless.
>> 
>> My use case has arisen from a card game I'm currently writing.  I
>> decided to put all my playing cards into 1 graphic, x position defines
>> rank, y position defines the suit, like a static CSS sprite.
> 
> This sounds like a suboptimal approach from an accessibility perspective.
> Each card should be a separate element.

Sorry, I misunderstood your approach. I agree with fantasai that making progress
on image sprites is the best way forward here.

Simon

Received on Monday, 8 November 2010 17:09:48 UTC