Jump to content

Template:Linear-gradient

From SpongeBob Wiki

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: