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

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.

Simon

Received on Monday, 8 November 2010 16:02:42 UTC