monks/mix_blend_mode

The mix-blend-mode CSS property sets how an element’s content should blend with the content of the element’s parent and the element’s background.

Values

pub const color: #(String, String)

color value of mix-blend-mode

pub const color_burn: #(String, String)

color-burn value of mix-blend-mode

pub const color_dodge: #(String, String)

color-dodge value of mix-blend-mode

pub const darken: #(String, String)

darken value of mix-blend-mode

pub const difference: #(String, String)

difference value of mix-blend-mode

pub const exclusion: #(String, String)

exclusion value of mix-blend-mode

pub const hard_light: #(String, String)

hard-light value of mix-blend-mode

pub const hue: #(String, String)

hue value of mix-blend-mode

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const lighten: #(String, String)

lighten value of mix-blend-mode

pub const luminosity: #(String, String)

luminosity value of mix-blend-mode

pub const multiply: #(String, String)

multiply value of mix-blend-mode

pub const normal: #(String, String)

normal value of mix-blend-mode

pub const overlay: #(String, String)

overlay value of mix-blend-mode

pub const plus_lighter: #(String, String)
  • : Blending using the plus-lighter compositing operator. Useful for cross-fade effects (prevents unwanted blinking when two overlaying elements animate their opacity in opposite directions).
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for mix-blend-mode

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const saturation: #(String, String)

saturation value of mix-blend-mode

pub const screen: #(String, String)

screen value of mix-blend-mode

pub const soft_light: #(String, String)

soft-light value of mix-blend-mode

pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for mix-blend-mode. It will be wrapped in var() and have -- prepended.

Search Document