CSS shape-rendering Property Reference
The CSS shape-rendering property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
shape-rendering overview
The CSS shape-rendering 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 | auto | optimizeSpeed | crispEdges | geometricPrecision |
| Initial value | auto |
| Applies to | limitedSVGElementsShapes |
| 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 shape-rendering. The initial and inherit global keywords remain available even when a property-specific value is preferable.
.reset-example {
shape-rendering: initial;
}
.inherit-example {
shape-rendering: inherit;
}
@supports (shape-rendering: initial) {
.supported {
shape-rendering: initial;
}
}