Le 17 sept. 2014 à 16:14, Tim Dawson <t...@ramasaig.com> a écrit :

> Given what I read there (4.1.2 Linear Gradient Examples, EXAMPLE 12)
> 
> background-image: linear-gradient(#1B91FF 60%, #FEC409 60%, #FEC409 100%);

Yes, in your case (the gradient goes from top to bottom), as I note in my 
previous message:
> (or in your case, a top-to-bottom gradient, you can omit the direction 
> keyword altogether, as top-to-bottom is the default).

Also,
> Perhaps I should read the standards more often, but the priority to to find 
> what actually works cross-browser.

it is always a good idea to take some time to read the specs!

Although sometimes things can be a little hard to find – case in point, I had 
to search for the spec that specifies the gradient syntax… It used to be in the 
CSS3 border and background module, but has moved to the CSS3 image module. MDN 
(Mozilla) is usually one the best resources for CSS issues and they always 
include a link to the relevant spec, just add ‘MDN’ to a search query in your 
favourite search engine and the relevant MDN page should come up near the top.

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to