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

Re: [CSS3 Backgrounds] Simple property that reduces amount of images needed.

From: Mikko Rantalainen <mikko.rantalainen@peda.net>
Date: Tue, 18 Nov 2008 11:37:51 +0200
Message-ID: <49228CEF.3030809@peda.net>
To: grandmaster_of_everything_777@yahoo.com
CC: www-style@w3.org
Bruce Hart wrote:
> Being able to reduce the number of images needed would be at least as
> great of a step forward as reducing the number of elements needed for
> backgrounds. With this new property one would be able to use just 2
> images instead of 8 for a completely flexible box.
> 
> background-transform: [flip-x flip-y rotate-l rotate-r rotate]

Or you could use the "border-image" property and use just one image.

The background transform could probably be useful for some other stuff
but for box drawing the border-image is much better.

-- 
Mikko



Received on Tuesday, 18 November 2008 09:38:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:17 GMT