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

RE: Mirror as background property

From: David Perrell <davidp@hpaa.com>
Date: Fri, 21 Aug 2009 17:05:16 -0700
To: <www-style@w3.org>
Message-ID: <HIEDLECHAFDEPLGKECDDCEPGAMAB.davidp@hpaa.com>
Tab Atkins Jr. wrote:
| What I want is the ability to take an image and specify a line to
| mirror it around.

The effect you want can be had from an optional 'background-flip' parameter.

'background-flip'
[ [ horizontal | vertical | both | none ] [ mirror ]? ]

Without 'mirror' it works as previously described.

'horizontal mirror' mirrors the left half onto the right half.

'vertical mirror' mirrors the top half onto the bottom half.

'both mirror' mirrors the left half onto the right half, then mirrors the top half onto the bottom half. Useful effects could be had using this on an angular gradient.

- davidp
Received on Saturday, 22 August 2009 00:06:03 GMT

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