Template:Gradient

This template allows to create a linear gradient, with up to 10 color stops.
 * Documentation


 * default- allows setting a solid background for old browsers that do not support gradients.
 * dir- the direction of the gradient. Either vertical or horizontal.
 * color-first- the first color value.
 * position-first- the first color stop position. A number from 0 to 100.
 * color-last- the last color value.
 * position-last- the last color stop position.
 * color-n- the nth color value.
 * position-n- the nth color stop position.


 * Examples


 * The template

background: -moz-linear-gradient(, %,   %); background: -webkit-gradient(linear, left top,, color-stop(%,), color-stop(%,)); background: -webkit-linear-gradient(,  %,   %); background: -o-linear-gradient(,  %,   %); background: -ms-linear-gradient(,  %,   %); background: linear-gradient(to ,  %, %);