W3C home > Mailing lists > Public > www-style@w3.org > August 2002

Flipping backgrounds

From: Tom Gilder <tom@tom.me.uk>
Date: Sat, 24 Aug 2002 12:22:27 +0100
Message-ID: <1063437135.20020824122227@tom.me.uk>
To: www-style@w3.org

Yay, yet another idea from me.

I've just thinking of how CSS3 could be improved to allow things like
curved corners on elements (although, yes, there's border-radius - but
that doesn't really allow for every effect).

Along with wanting a way to apply more than one background-image to an
element, I'd love to see a background-flip property. Its CSS
definition could looks something like this:

       Name: background-flip
      Value: no-flip | flip-x | flip-y | flip-both
    Initial: no-flip
 Applies to: all elements
  Inherited: no
Percentages: N/A
      Media: visual

When applied, it would flip the background image vertically,
horizontally or both. This could allow for fewer image downloads,
especially when doing effects such as rounded corners.

Tom Gilder
Received on Saturday, 24 August 2002 07:22:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:03 UTC