Template:Background clip text/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

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 to inline to make text container a <span> tag.
  • class – add custom CSS class.

See also