- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 7 May 2013 09:24:38 -0700
- To: Behrang Saeedzadeh <behrangsa@gmail.com>
- Cc: W3C CSS Mailing List <www-style@w3.org>
On Tue, May 7, 2013 at 9:22 AM, Behrang Saeedzadeh <behrangsa@gmail.com> wrote: > So that a specific portion of a sprite image can be used with elements of > any size? > > For example: > > background-image: url(sprite.png) top left width height; See Media Fragments: <http://www.w3.org/TR/media-frags/>. You'd specify a url like "url(sprite.png#xywh=0,0,20,30)". ~TJ
Received on Tuesday, 7 May 2013 16:25:28 UTC