Template:Background clip text/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Background clip text. It contains usage information, categories, and other content that is not part of the original template page. |
| 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}}