Jump to content

Template:Linear-gradient

From SpongeBob Wiki
Revision as of 09:25, 27 January 2021 by imported>AMK152Bot (Usage: category sorting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Argument 3 specifies a fallback color for browsers which do not support gradients (like Internet Explorer 10 or below). If not specified, then the start color is used as the fallback color.

To apply a uniform gradient from left to right or top to bottom

{{Linear-gradient|start position|#color, #color|optional fallback}}

To apply a gradient with color stops

{{Linear-gradient|start position|#color, #color [stop], #color [stop], ...|optional fallback}}

See also: