Blend Mode
The following utility classes control the blend mode of elements:
.mix-normal
.mix-normal
Sets the blend mode of the element to normal.
CSS equivalent: mix-blend-mode: normal;
Example usage:
.mix-multiply
.mix-multiply
Sets the blend mode of the element to multiply.
CSS equivalent: mix-blend-mode: multiply;
Example usage:
.mix-screen
.mix-screen
Sets the blend mode of the element to screen.
CSS equivalent: mix-blend-mode: screen;
Example usage:
.mix-overlay
.mix-overlay
Sets the blend mode of the element to overlay.
CSS equivalent: mix-blend-mode: overlay;
Example usage:
.mix-darken
.mix-darken
Sets the blend mode of the element to darken.
CSS equivalent: mix-blend-mode: darken;
Example usage:
.mix-lighten
.mix-lighten
Sets the blend mode of the element to lighten.
CSS equivalent: mix-blend-mode: lighten;
Example usage:
.mix-color-dodge
.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
.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
.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
.mix-soft-light
Sets the blend mode of the element to soft-light.
CSS equivalent: mix-blend-mode: soft-light;
Example usage:
.mix-difference
.mix-difference
Sets the blend mode of the element to difference.
CSS equivalent: mix-blend-mode: difference;
Example usage:
.mix-exclusion
.mix-exclusion
Sets the blend mode of the element to exclusion.
CSS equivalent: mix-blend-mode: exclusion;
Example usage:
.mix-hue
.mix-hue
Sets the blend mode of the element to hue.
CSS equivalent: mix-blend-mode: hue;
Example usage:
.mix-saturation
.mix-saturation
Sets the blend mode of the element to saturation.
CSS equivalent: mix-blend-mode: saturation;
Example usage:
.mix-color
.mix-color
Sets the blend mode of the element to color.
CSS equivalent: mix-blend-mode: color;
Example usage:
.mix-luminosity
.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