Blend Mode
The background-blend-mode
property sets how an element's background
(i.e. background-image
, background-color
) should blend with each other.
The mix-blend-mode
property sets how an element's content should blend with its background
and its parents' content.
CSS Properties
background-blend-mode
Sets how an element's background
should blend with each other. Note that there could be more than one "background" if you specify more than one images in background-image
.
Specify comma-separated list of blend mode, in the same order as background-image
. (Truncation/repetition of blend mode will occur if the numbers don't match.)
mix-blend-mode
Sets how an element's content should blend with its background
and its parents' content ("mixes through multiple layer of elements").
Specify a blend mode, e.g. normal
or multiply
.
References
- background-blend-mode (MDN) — https://developer.mozilla.org/en-US/docs/Web/CSS/background-blend-mode
- mix-blend-mode (MDN) — https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode