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

Re: Interaction between border-image and background gradients

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 18 Aug 2010 20:08:28 -0700
Message-ID: <AANLkTi=dzNR47ejxOFMJbxiXU0T=o8BcxQy=4F_nWvVT@mail.gmail.com>
To: David Chambers <david.chambers.05@gmail.com>
Cc: www-style@w3.org
On Wed, Aug 18, 2010 at 9:13 AM, David Chambers
<david.chambers.05@gmail.com> wrote:
> Is this correct behaviour? Why does the gradient extend to the border edge in one direction only? Why the opposing stripes in the other direction?

It's correct behavior.  Unless you specify otherwise, the default
behavior of backgrounds is to repeat.  That's what's happening here -
the gradient is repeating in both directions.  It looks like a pretty
solid color, though, if you only grab 20px from each side.  Make the
border-width 200px and all will be revealed.

Received on Thursday, 19 August 2010 03:09:35 UTC

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