Nothing

<stop>

Define one color and position on a gradient ramp.

Read as Markdown

A stop owns its position and color independently. Animation never sorts the authored stop children.

Syntax

Set the final ramp color

Place opaque teal at ramp position one. At (86, 32), beyond the endpoint of the left swatch’s gradient, the paint stays teal.

<stop offset="1" stop-color="#4ABCC0FF"/>

Complete .nothing source · Sample checks

Usage context

Allowed parents are <gradient>.

Attributes

Property animation

offset

Value fraction of ramp length · Required · Keys Scalar

Authored position from zero to one. The effective value is at least the previous effective position.

stop-color

Value #RRGGBBAA · Required · Keys Color channels

Eight hexadecimal digits giving encoded sRGB followed by linear alpha.

Children

ElementsCardinalityDeclared byRole and source order
<animate>Zero or moreAnimationA track targets one keyable property on this owner. For equal first-key times, the later track in document order wins. Evaluating animation tracks

Specifications

On this page