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 11:59:52 -0500
Message-ID: <dd0fbad0908210959y35412403ne0ce1f1e4a57f0af@mail.gmail.com>
To: David Perrell <davidp@hpaa.com>
Cc: www-style@w3.org
On Fri, Aug 21, 2009 at 11:43 AM, David Perrell<davidp@hpaa.com> wrote:
> Tab Atkins Jr. wrote:
> | Alternate idea: mirror-gradient().
> Alternate idea: 'background-mirror'
> [ up | right | down | left ]
> Another possibility: 'background-flip'
> [ horizontal | vertical ]

So, how precisely would this work?  Would it just split the
background-box in half/quarters, take whatever would normally display
in the half/quarter indicated, and mirror that around?

Background-flip would need a way to specify which half it's supposed
to use.  I sort of like background-mirror.

> Just size the initial gradient box to half-width or half-height and mirror to the other half. Also useful for background images.

Don't actually need to do that.  Just size it normally and only
specify out to 50%.  Background-mirror would automatically take care
of anything that went past the halfway point (by overwriting it with
the mirrored version).

Received on Friday, 21 August 2009 17:00:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC