Template:Linear-gradient: Difference between revisions

From The Goon Show Depository

c>Verdy p
No edit summary
m (1 revision imported)
Line 1: Line 1:
<noinclude> &lt;div style="
<includeonly>background-image: -moz-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -o-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -webkit-linear-gradient({{{1|}}}, {{{2|}}}); background-image: linear-gradient({{#switch: {{{1|}}}
</noinclude>background-image:-moz-linear-gradient({{{1|<noinclude>''start-position''</noinclude>}}},{{{2|<noinclude>''color [stop],...''</noinclude>}}});<noinclude>
| top = to bottom
</noinclude>background-image:o-linear-gradient({{{1|<noinclude>''start-position''</noinclude>}}},{{{2|<noinclude>''color [stop],...''</noinclude>}}});<noinclude>
| bottom = to top
</noinclude>background-image:-webkit-linear-gradient({{{1|<noinclude>''start-position''</noinclude>}}},{{{2|<noinclude>''color [stop],...''</noinclude>}}});<noinclude>
| left = to right
</noinclude>background-image:linear-gradient({{#switch:{{{1|<noinclude>''start-position''</noinclude>}}}
| right = to left
|       360deg|        400grad|            1turn|0rad|
| top left
|-360deg|  0deg|-400grad|  0grad|  -1turn|  0turn|                  bottom = to top
| left top = to bottom right
|-315deg| 45deg|-350grad| 50grad|-.875turn|.125turn|bottom left | left bottom = to top right
| top right
|-270deg| 90deg|-300grad|100grad| -.75turn| .25turn|              left        = to right
| right top = to bottom left
|-225deg|135deg|-250grad|150grad|-.675turn|.375turn|  top left | left top   = to bottom right
| bottom left
|-180deg|180deg|-200grad|200grad|  -.5turn|  .5turn|                  top   = to bottom
| left bottom = to top right
|-135deg|225deg|-150grad|250grad|-.375turn|.675turn|  top right|right top   = to bottom left
| bottom right
| -90deg|270deg|-100grad|300grad| -.25turn| .75turn|            right        = to left
| right bottom = to top left
| -45deg|315deg| -50grad|350grad|-.125turn|.875turn|bottom right|right bottom = to top left
| #default = {{{1}}}
|#default={{{1|<noinclude>''start-position''</noinclude>}}}
}}, {{{2|}}});</includeonly><noinclude>
}},{{{2|<noinclude>''color [stop],...''</noinclude>}}});<noinclude>
{{documentation}}
"&gt;Lorem ipsum...&lt;/div&gt;
</noinclude>
{{Documentation}}</noinclude>

Revision as of 11:02, 20 July 2022