Position
This context interface offers two functions to specify the positional appearance of an element.
zIndex for arranging elements among the z-axis to bring them to the back or the front of the screen
position for the positioning an element within its context
There are two variants for each of those functions; one for applying to all media devices at once and another to specify the functionality for each media device independently.
Functions
position
Link copied to clipboard
open fun position(sm: PositionContext.() -> Unit? = null, md: PositionContext.() -> Unit? = null, lg: PositionContext.() -> Unit? = null, xl: PositionContext.() -> Unit? = null)
Content copied to clipboard
This function sets the position CSS property of an element for each media device independently.
zIndex
Link copied to clipboard
open fun zIndex(sm: ZIndicesProperty? = null, md: ZIndicesProperty? = null, lg: ZIndicesProperty? = null, xl: ZIndicesProperty? = null)
Content copied to clipboard
This function sets the z-index CSS property of an element for each media device independently.
Properties
lgProperties
Link copied to clipboard
collects the properties for large screens
mdProperties
Link copied to clipboard
collects the properties for middle-sized screens
smProperties
Link copied to clipboard
collects the properties for small screens
xlProperties
Link copied to clipboard
collects the properties for extra-large screens
Inheritors
BasicParams
Link copied to clipboard