LionHeartKIng Wiki
Advertisement
LionHeartKIng Wiki
65,567
pages

background:-ms-linear-gradient(top, red, orange, yellow, green, blue, indigo, violet);background:-moz-linear-gradient(top, red, orange, yellow, green, blue, indigo, violet);background:-o-linear-gradient(top, red, orange, yellow, green, blue, indigo, violet);background:-webkit-gradient(linear,left top,left bottom, red, orange, yellow, green, blue, indigo, violet);background:-webkit-linear-gradient(top, red, orange, yellow, green, blue, indigo, violet);background:linear-gradient(top, red, orange, yellow, green, blue, indigo, violet)

Code Result Example
1=#RRGGBB First color-stop. (irrelevant to this example) 1=#FFFF33
2=#RRGGBB Second color-stop. (irrelevant to this example) 2=#339966
3=0.0-1.0 (optional) First color-stop's start point. (irrelevant to this example) 3=0.4
4=0.0-1.0 (optional) Second color-stop's start point. (irrelevant to this example) 4=0.8
h=1 (optional) Defines horizontal gradient. (irrelevant to this example) h=1
Advertisement