shape-rendering

An SVG-specific property that tells the browser how to render shapes. You can prioritize speed over quality, or ensure that lines and edges look perfectly crisp on modern screens.

Quick example

svg {
  /* Ensures that crisp straight lines don't look blurry on low-res screens */
  shape-rendering: crispEdges;
}

Quick facts

Initial value
auto
Inherited
No
Applies to
a subset of SVG elements (shapes)
Animation type
discrete

Values

autooptimizeSpeedcrispEdgesgeometricPrecision

shape-rendering Browser Support

Widely available Since 2020 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.

Safe to use without fallbacks.

1+
3+
4+
79+
ESC