data-type

<blend-mode> — CSS reference

A grammar category of functions for combining source and backdrop colors. Multiply darkens, screen lightens, and difference computes channel differences. Nonseparable modes use cross-channel information. Blend mode selection is distinct from the alpha compositing operation.

Formal Syntax & Structure

css syntaxcss
normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity (Level 1)

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS visual effects lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}body{background:white} #a{position:relative; margin:20px;width:80px;height:60px;background:rgb(255,0,0);box-sizing:content-box} #a{background-image:linear-gradient(blue,blue);background-blend-mode:screen}</style><body><div id="a" aria-hidden="true"></div><p>Decorative effect example.</p></body></html>
CSS Reference