Jump to content

Template:Linear-gradient: Difference between revisions

From SpongeBob Wiki
imported>AMK152Bot
m Usage: category sorting
 
(No difference)

Latest revision as of 09:25, 27 January 2021

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: