coderef

mix-blend-modeBaseline · Widely available

The mix-blend-mode CSS property blends an element's content with its background or parent elements using blend modes like multiply, difference, or color.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jan 15, 2020. Widely available since Jul 15, 2022.

Browser support

DesktopChrome
1–40Not supported
41+Supportedsince Mar 3, 2015
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–31Not supported
32+Supportedsince Sep 2, 2014
Current: 157
Safari
1–7Not supported
8+Supportedsince Oct 16, 2014
Current: 27
MobileChrome Android
18–40Not supported
41+Supportedsince Mar 11, 2015
Current: 155
Firefox Android
4–31Not supported
32+Supportedsince Sep 2, 2014
Current: 157
Safari iOS
1–7Not supported
8+Supportedsince Sep 17, 2014
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: mix-blend-mode.

Feature detection

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

/* or in JavaScript */
if (CSS.supports("mix-blend-mode", "initial")) {
  // use it
}

Sub-features

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

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
mix-blend-mode417932841328
mix-blend-mode.plus-darker✕✕✕9✕✕9
mix-blend-mode.plus-lighter100100999.1100999.3
mix-blend-mode.svg_elements417932✕✕32✕