W3C home > Mailing lists > Public > www-style@w3.org > May 2009

Background position

From: Sophie <sophie.gousset@laposte.net>
Date: Sun, 17 May 2009 22:18:23 +0200
Message-ID: <4A10710F.6010106@laposte.net>
To: www-style@w3.org
Hello,

I have searched the archives of the list but didn’t find mention of
this. Is there a possibility of allowing the definition of background
position coordinates separately?

a{
background:url("...") no-repeat 0 0;
}

a:hover{
background-position-y:-40px;
}

This would be useful in reducing css declarations when using sprite
background images.

Regards,

Sophie
Received on Monday, 18 May 2009 09:25:25 GMT

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