Template:Gradient

{{#if:{{{multiple|}}}|{{#switch:{{{multiple}}}


 * 2=background-image:gradient(linear, 0% 0%, 0% 100%, color-stop(25%, ), color-stop(75%, )); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(25%, ), color-stop(75%, )); background-image:-moz-linear-gradient(top, 25%,  75%); background-image:-o-linear-gradient(top,  25%,  75%); background-image:-ms-linear-gradient(top,  25%,  75%)


 * 3=background-image:gradient(linear, 0% 0%, 0% 100%, color-stop(17%, ), color-stop(50%, ), color-stop(83%, {{{3}}})); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(17%, ), color-stop(50%, ), color-stop(83%, {{{3}}})); background-image:-moz-linear-gradient(top, 17%,  50%, {{{3}}} 83%); background-image:-o-linear-gradient(top,  17%,  50%, {{{3}}} 83%); background-image:-ms-linear-gradient(top,  17%,  50%, {{{3}}} 87%)


 * 4=background-image:gradient(linear, 0% 0%, 0% 100%, color-stop(12%, ), color-stop(38%, ), color-stop(62%, {{{3}}}), color-stop(88%, {{{4}}})); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(12%, ), color-stop(38%, ), color-stop(62%, {{{3}}}), color-stop(88%, {{{4}}})); background-image:-moz-linear-gradient(top, 12%,  38%, {{{3}}} 62%, {{{4}}}} 88%); background-image:-o-linear-gradient(top,  12%,  38%, {{{3}}} 62%, {{{4}}}} 88%); background-image:-ms-linear-gradient(top,  12%,  38%, {{{3}}} 62%, {{{4}}}} 88%)


 * default=background-image:gradient(linear, 0% 0%, 0% 100%, color-stop(25%, ), color-stop(75%, )); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(25%, ), color-stop(75%, )); background-image:-moz-linear-gradient(top, 25%,  75%); background-image:-o-linear-gradient(top,  25%,  75%); background-image:-ms-linear-gradient(top,  25%,  75%)}}


 * background-image:gradient(linear, 0% 0%, 0% 100%, color-stop(25%, {{{1}}}), color-stop(75%, {{{2}}})); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(25%, {{{1}}}), color-stop(75%, {{{2}}})); background-image:-moz-linear-gradient(top, {{{1}}} 25%, {{{2}}} 75%); background-image:-o-linear-gradient(top, {{{1}}} 25%, {{{2}}} 75%); background-image:-ms-linear-gradient(top, {{{1}}} 25%, {{{2}}} 75%)}}