Seems like (top bottom, red, yellow) would make more sense, top being the start and bottom being the finish.
>-----Original Message----- >From: css-d-boun...@lists.css-discuss.org [mailto:css-d-boun...@lists.css- >discuss.org] On Behalf Of John D >Sent: Thursday, June 06, 2013 9:23 AM >To: Angela French; css-d@lists.css-discuss.org >Subject: Re: [css-d] linear-gradient > > > > >> So in my syntax, what is the "to" doing? >> > >> >> background-image: linear-gradient(to bottom, red, yellow); >> >> > >It basically means that the gradient is going from the top to bottom starting >red >and finishing yellow. > >You could also have something like this: > >linear-gradient( to left top, blue, red); > >/* A gradient going from the bottom to the top left starting blue and > finishing red */ > >_________________________________________________________________ >_____ >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/ ______________________________________________________________________ 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/