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
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|}}}); background-image: linear-gradient({{Linear-gradient/legacy|{{{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>
 
</noinclude>

Revision as of 17:06, 2 July 2016