coderef

paint-orderBaseline · Widely available

The paint-order CSS property sets the z-order of strokes, fills, and (in SVG content) markers. For example, paint-order: markers stroke fill; draws the markers, then stroke on top of markers, then fill on top of both markers and stroke.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Mar 22, 2024. Widely available since Sep 22, 2026.

Browser support

DesktopChrome
1–122Not supported
123+Supportedsince Mar 19, 2024
Current: 155
Edge
12–122Not supported
123+Supportedsince Mar 22, 2024
Current: 154
Firefox
1–65Not supported
≤66+Supportedsince Mar 19, 2019
Current: 157
Safari
1–11.1Not supported
≤12+Supportedsince Sep 17, 2018
Current: 27
MobileChrome Android
18–122Not supported
123+Supportedsince Mar 19, 2024
Current: 155
Firefox Android
4–65Not supported
≤66+Supportedsince Mar 19, 2019
Current: 157
Safari iOS
1–11.3Not supported
≤12+Supportedsince Sep 17, 2018
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: paint-order.

Feature detection

CSS · check before using
@supports (paint-order: initial) {
  /* styles that rely on paint-order */
}

/* or in JavaScript */
if (CSS.supports("paint-order", "initial")) {
  // use it
}

Sub-features

Support for each part of the feature (2). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
paint-order12312360111236011
svg.global_attributes.paint-order≤7379≤66≤12≤73≤66≤12