Template:Gr: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude>{{Ti|easily adding gradient text}} </noinclude><span style="background: -webkit-linear-gradient({{{2|#ef0202}}}, {{{3|#8c0000}}}); -webkit-background-clip: text; -w...") |
No edit summary |
||
| Line 7: | Line 7: | ||
== Example == | == Example == | ||
This code:<br> | This code:<br> | ||
<nowiki>{{gr|Hello World!|red| | <nowiki>{{gr|Hello World!|red|yellow}}</nowiki> | ||
Produces this effect:<br> | Produces this effect:<br> | ||
:<span style="background: -webkit-linear-gradient(red, yellow); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">Hello World!</span> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 13:31, 29 September 2017
Template:Gr is used for easily adding gradient text.
How to Use Template:Gr
- This template can be added to a page by typing the following in the page's code with any applicable parameters inserted after the name:
{{Gr}}
Raw Example of Template:Gr
Gradient Text
Parameters
- desired text
- top gradient color
- bottom gradient color
Example
This code:
{{gr|Hello World!|red|yellow}}
Produces this effect:
- Hello World!