CSS stop-color Property Reference

The CSS stop-color property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

CSS stop-color Property Reference

The CSS stop-color property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

stop-color overview

The CSS stop-color property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

stop-color formal syntax
FieldValue
Formal syntax<'color'>
Initial valueblack
Applies tolimitedSVGElementsStop
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupScalable Vector Graphics
StatusStandard

Practical examples

These declarations demonstrate valid ways to set stop-color. The initial and inherit global keywords remain available even when a property-specific value is preferable.

stop-color live example
CSS .reset-example { stop-color: initial; } .inherit-example { stop-color: inherit; } @supports (stop-color: initial) { .supported { stop-color: initial; } }

Related references

Description

The CSS stop-color property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: stop-color
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies