W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Re: Gradients and background-repeat (Was: Re: Automatic spec annotations)

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sat, 14 May 2011 11:29:11 -0700
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Simon Fraser <smfr@me.com>, www-style list <www-style@w3.org>
Message-Id: <305A98F5-54B0-4B08-B8C9-6E94D74471F6@gmail.com>
To: Alan Gresley <alan@css-class.com>

On May 13, 2011, at 11:50 PM, Alan Gresley wrote:

> http://css-class.com/test/css/3/gradients/linear-gradients-repeat1.htm
> The examples 'Grate 3' and 'Grate 4' require an extra inner element that is rotated by 2D transforms. Now if I wanted to have text running from left to right (not rotated), I would have to add an additional element. If I could use background-rotate, then I wouldn't have to jump through such hoops.

I will save Tab the effort of pointing out that you could have done those with repeating-linear-gradient too, with no hoops. But it does illustrate that authors (like us) do tend to first try to use background properties as the means of repeating background ptterns, and that comes much more naturally than to consider offloading the tiling to within a single image.
Received on Saturday, 14 May 2011 18:29:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:46 UTC