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

Re: Mirror as background property

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 21 Aug 2009 19:32:34 -0500
Message-ID: <dd0fbad0908211732k6af26199i93c52a389aefb697@mail.gmail.com>
To: David Perrell <davidp@hpaa.com>
Cc: www-style@w3.org
On Fri, Aug 21, 2009 at 7:05 PM, David Perrell<davidp@hpaa.com> wrote:
> 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.

I'm not sure why this would go on background-flip.  It seems more
appropriate that a mirroring effect go on background-mirror, surely?

I agree that mirroring a quadrant would work well with angle
gradients, providing a simple way to make diamond gradients.

~TJ
Received on Saturday, 22 August 2009 00:33:29 GMT

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