Template:Gradient: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(+doctable(~example)) |
mNo edit summary |
||
Line 22: | Line 22: | ||
|- | |- | ||
|h=1 | |h=1 | ||
|(optional) Defines | |(optional) Defines horizontal gradient. | ||
|h=1 | |h=1 | ||
|- | |- | ||
|colspan=3 style="{{gradient|#00FF00|#8CA1FF|0.35|0.8|h=1}};height:19px"| | |colspan=3 style="{{gradient|#00FF00|#8CA1FF|0.35|0.8|h=1}};height:19px"| | ||
|}</noinclude> | |}</noinclude> |
Revision as of 03:53, September 22, 2012
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 horizontal gradient. | h=1 |