Template:Background clip text
Jump to navigation
Jump to search
{{{1}}}
| This template uses TemplateStyles: |
Allows you to create text with a background masking effect.
Usage
{{Background clip text|[text]|[background]|[optional font size]}}
Example
{{Background clip text|Where did my socks go?|linear-gradient(to right, orange, purple)|36pt}}
The above code will produce the text you see below:
Where did my socks go?
All parameters
style– add additional inline CSS styling.mode– set toinlineto make text container a<span>tag.class– add custom CSS class.
See also
- {{AC}}
- {{Rainbow text}}