Template:Gradient Text/doc
Appearance
![]() | This is a documentation subpage for Template:Gradient Text. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]Code | Result |
---|---|
{{Gradient Text|First parameter is text, at least two color parameters are required|red|blue}}
|
First parameter is text, at least two color parameters are required |
{{Gradient Text|Up to thirteen colors are supported by the template|red|orange|yellow|green|blue|indigo|violet}}
|
Up to thirteen colors are supported by the template |
{{Gradient Text|Parameter {{para|align}} can be used to set the first parameter of CSS function <code>linear-gradient</code>. {{Lorem ipsum span}}|align=to left top|red|blue}}
|
Parameter |align= can be used to set the first parameter of CSS function linear-gradient . Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
For ways of defining color values, see Web colors.
For more details about the parameter |align=
, see MDN documentation about linear-gradient
.