Skip to content

Blend Modes

Set mix blend mode

Syntax

visual="mix-blend:[value]"

Values

ValueCSS OutputDescription
normalmix-blend-mode: normalNormal blend
multiplymix-blend-mode: multiplyMultiply blend
screenmix-blend-mode: screenScreen blend
overlaymix-blend-mode: overlayOverlay blend
darkenmix-blend-mode: darkenDarken blend
lightenmix-blend-mode: lightenLighten blend

Examples

html
<div visual="mix-blend:multiply">Multiply blend</div>

Preview

Mix Blend Mode

visual="mix-blend:multiply" - Blend element with content behind it

multiply
screen
View Code
html
<div layout="flex" space="g:medium p:medium" visual="rounded:medium bg:gradient-red-orange">
  <div space="p:small" visual="bg:blue-500 text:white rounded:small mix-blend:multiply">multiply</div>
  <div space="p:small" visual="bg:blue-500 text:white rounded:small mix-blend:screen">screen</div>
</div>