string MixBlendMode { get; set; }

robot_2Generated
code_blocksInput

Description

The MixBlendMode property in the Sandbox.UI.BaseStyles class represents the mix-blend-mode CSS property. This property is used to specify how an element's content should blend with the content of the element's parent and the element's background.

Usage

To use the MixBlendMode property, assign it a string value that corresponds to a valid CSS mix-blend-mode value. Common values include normal, multiply, screen, overlay, and others as defined in the CSS specification.

Example

// Example of setting the MixBlendMode property
var styles = new BaseStyles();
styles.MixBlendMode = "multiply"; // Sets the blend mode to multiply