Template:Linear-gradient: Difference between revisions

From Epic Path
Jump to navigation Jump to search
(Created page with "background-image: -moz-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -o-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -webkit-linear-gradient({{{1|}}}, {{{2|...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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({{Linear-gradient/legacy|{{{1|}}}}}, {{{2|}}});
<includeonly>background-image: -moz-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -o-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -webkit-linear-gradient({{{1|}}}, {{{2|}}});</includeonly><noinclude>
==Usage==
Use within a CSS style tag. The template uses the background-image property.
 
<pre>
<div style="{{linear-gradient | start position | #color [stop], #color [stop][, #color [stop], ...] }}">Lorem ipsum...</div>
</pre>
 
, separated with commas.
).
</noinclude>

Latest revision as of 14:16, 4 April 2018