- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 21 Aug 2009 19:32:34 -0500
- 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 UTC