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 French" <afre...@sbctc.edu> wrote: > 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 if I change > the syntax to "top" the gradient doesn't work. Can anyone explain please? > > Angela French > Internet Specialist > State Board for Community and Technical Colleges > 360-704-4316 > afre...@sbctc.edu > http://www.checkoutacollege.com/ > http://www.sbctc.edu > > ______________________________________________________________________ > 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/