mix-blend-mode

Sets how an element's content should blend with the content of the element's direct background (parent).

It is documented as part of the Compositing and Blending specification.

/* Usage Example */
.text-overlay {
  mix-blend-mode: multiply;
  /* blends the text color into the background image underneath */
}

/* Syntax */
mix-blend-mode: plus-darker;
mix-blend-mode: plus-lighter;

/* Global values */
mix-blend-mode: inherit;
mix-blend-mode: initial;
mix-blend-mode: revert;
mix-blend-mode: revert-layer;
mix-blend-mode: unset;
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.

41+
32+
8+
79+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC