Re: Any plans to add a feature for clipping background images?

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