On 6/5/13 4:57 PM, Angela French wrote:
background-image: linear-gradient(to bottom, red, yellow);
...What Barney C. said. But if you're a glutton for punishment, the
value syntax is as follows:
linear-gradient(angle|keyword, color1 stop1, color2 stop2, ...);
Angles are provided in the
This is one of those cases where the syntax is so convoluted and forked I
can never remember it myself — but when I don't have SASS at my disposal I
always go to this tool:
www.colorzilla.com/gradient-editor/
It even throws in IE filter and svg data-uri polyfills!
On Jun 5, 2013 10:58 PM, "Angela
Hello,
I am using to make sense of some background-image: linear-gradient. My code is
as follows:
background-image: linear-gradient(to bottom, red, yellow);
I thought the "to" as the first parameter must have been a typo and that it
should be "top" as in "top to bottom" on the gradient. But
On Jun 4, 2013, at 6:25 PM, Philippe Wittenbergh wrote:
> So yeah, eventually good for small icons and the like, that are used
> repeatedly all over the site. As for the size, bear in mind the above about
> browser memory usage, and then your ability to keep track of them. All
> depends on yo