Template:Gradient: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 26: Line 26:
|-
|-
|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>
|}[[Category:Formatting Templates]]</noinclude>

Revision as of 06:49, August 14, 2013

Template:Protectbackground:-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