W3C home > Mailing lists > Public > www-style@w3.org > November 2010

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

From: Simon Fraser <smfr@me.com>
Date: Mon, 08 Nov 2010 08:02:06 -0800
Cc: www-style@w3.org
Message-id: <1A72A5B7-5017-455A-9878-703FC1DF81F9@me.com>
To: Lee Kowalkowski <lee.kowalkowski@googlemail.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:34 GMT