πŸ“ͺBlend Mode

The following utility classes control the blend mode of elements:

.mix-normal

Sets the blend mode of the element to normal.

CSS equivalent: mix-blend-mode: normal;

Example usage:

<div class="mix-normal">
  <!-- Content with normal blend mode -->
</div>

.mix-multiply

Sets the blend mode of the element to multiply.

CSS equivalent: mix-blend-mode: multiply;

Example usage:

<div class="mix-multiply">
  <!-- Content with multiply blend mode -->
</div>

.mix-screen

Sets the blend mode of the element to screen.

CSS equivalent: mix-blend-mode: screen;

Example usage:


.mix-overlay

Sets the blend mode of the element to overlay.

CSS equivalent: mix-blend-mode: overlay;

Example usage:


.mix-darken

Sets the blend mode of the element to darken.

CSS equivalent: mix-blend-mode: darken;

Example usage:


.mix-lighten

Sets the blend mode of the element to lighten.

CSS equivalent: mix-blend-mode: lighten;

Example usage:


.mix-color-dodge

Sets the blend mode of the element to color-dodge.

CSS equivalent: mix-blend-mode: color-dodge;

Example usage:


.mix-color-burn

Sets the blend mode of the element to color-burn.

CSS equivalent: mix-blend-mode: color-burn;

Example usage:


.mix-hard-light

Sets the blend mode of the element to hard-light.

CSS equivalent: mix-blend-mode: hard-light;

Example usage:


.mix-soft-light

Sets the blend mode of the element to soft-light.

CSS equivalent: mix-blend-mode: soft-light;

Example usage:


.mix-difference

Sets the blend mode of the element to difference.

CSS equivalent: mix-blend-mode: difference;

Example usage:


.mix-exclusion

Sets the blend mode of the element to exclusion.

CSS equivalent: mix-blend-mode: exclusion;

Example usage:


.mix-hue

Sets the blend mode of the element to hue.

CSS equivalent: mix-blend-mode: hue;

Example usage:


.mix-saturation

Sets the blend mode of the element to saturation.

CSS equivalent: mix-blend-mode: saturation;

Example usage:


.mix-color

Sets the blend mode of the element to color.

CSS equivalent: mix-blend-mode: color;

Example usage:


.mix-luminosity

Sets the blend mode of the element to luminosity.

CSS equivalent: mix-blend-mode: luminosity;

Example usage:


Feel free to apply these classes to elements to achieve different blend modes as needed.

Last updated