> 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/

Reply via email to