CSS paint-order Property Reference
The CSS paint-order property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
paint-order overview
The CSS paint-order property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.
The computed value normally inherits from the parent element when no declaration wins the cascade.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | normal | [ fill || stroke || markers ] |
| Initial value | normal |
| Applies to | textElements |
| Inherited | Yes |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | discrete |
| Media | visual |
| Specification group | Scalable Vector Graphics |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set paint-order. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
paint-order: initial;
}
.inherit-example {
paint-order: inherit;
}
@supports (paint-order: initial) {
.supported {
paint-order: initial;
}
}