Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Linear-gradient/doc to edit this documentation. (How does this work?) |
Description
This is a shorthand for...
background-image: -moz-linear-gradient(, ); background-image: -ms-linear-gradient(, ); background-image: -o-linear-gradient(, ); background-image: -webkit-linear-gradient(, ); background-image: linear-gradient(, );
Syntax
Type {{Linear-gradient}}
somewhere.
Samples
{{linear-gradient|position|bg color, tx color}}
[[Special:Recentchanges|<span style="{{linear-gradient|top|#535353, black}}; color: #00CED1; display: inline-block; padding: 0 5px; border-radius: 5px; margin: 0 0.1em;">Recent changes</span>]]
results in...
Recent changes
Community content is available under CC-BY-SA unless otherwise noted.