Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

stop

Description

The stop element for SVG specifies the vector of colors to use in a gradient.

Syntax

Attributes

offset

Specifies where the gradient stop is placed.

Value
<number> | <percentage>
Default
0

stop-color

Specifies the color for the gradient stop.

Value
currentColor | <color> <icccolor>
Default
black

stop-opacity

Specifies the opacity for the gradient stop.

Value
<alpha-value>
Default
1

Examples

offset

<number>

<percentage>

stop-color

<color>

currentColor

<icccolor>

stop-opacity

<alpha-value>

linearGradient

radialGradient

World Wide Web Consortium (W3C)

HomeMenu