Skip to content

Background Blend Mode

Set background blend mode

Syntax

visual="bg-blend:[value]"

Values

ValueCSS OutputDescription
normalbackground-blend-mode: normalNormal blend
multiplybackground-blend-mode: multiplyMultiply blend
screenbackground-blend-mode: screenScreen blend
overlaybackground-blend-mode: overlayOverlay blend
darkenbackground-blend-mode: darkenDarken blend
lightenbackground-blend-mode: lightenLighten blend

Examples

html
<div visual="bg-blend:multiply">Multiplied background</div>

Preview

Background Blend Mode

visual="bg-blend:multiply" - Blend backgrounds together

multiply
screen
overlay
View Code
html
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
  <div space="p:small" visual="bg:primary text:white rounded:small">multiply</div>
  <div space="p:small" visual="bg:primary text:white rounded:small">screen</div>
  <div space="p:small" visual="bg:primary text:white rounded:small">overlay</div>
</div>