Background
This context interface offers functions to style the background related CSS properties of a component.
It basically offers only two common functions to leverage the specific functions of BackgroundContext to define the real styling; one for the default media device and one for defining the background for multiple media devices.
Functions
Link copied to clipboard
This function opens the context for defining the background related properties for all media devices.
open fun background( sm: BackgroundContext.() -> Unit? = null, md: BackgroundContext.() -> Unit? = null, lg: BackgroundContext.() -> Unit? = null, xl: BackgroundContext.() -> Unit? = null)
Content copied to clipboard
This function opens the context for defining the background related properties for each media device independently.