Template:Gradient
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
background:-ms-linear-gradient(top,#FFFFFF ,#DCDCDC );background:-moz-linear-gradient(top,#FFFFFF ,#DCDCDC );background:-o-linear-gradient(top,#FFFFFF ,#DCDCDC );background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#FFFFFF),color-stop(1,#DCDCDC));background:-webkit-linear-gradient(top,#FFFFFF ,#DCDCDC );background:linear-gradient(top,#FFFFFF ,#DCDCDC )
Code | Result | Example |
---|---|---|
1=#RRGGBB | First color-stop. | 1=#00FF00 |
2=#RRGGBB | Second color-stop. | 2=#8CA1FF |
3=0.0-1.0 | (optional) First color-stop's start point. | 3=0.35 |
4=0.0-1.0 | (optional) Second color-stop's start point. | 4=0.8 |
h=1 | (optional) Defines horizantal gradient. | h=1 |