Z-index
The following classes control the z-index of elements:
.z-index-{value}
, .z-{value}
.z-index-{value}
, .z-{value}
Sets the z-index property to the specified positive value, adjusting the stacking order of the element.
CSS equivalent: z-index: {value};
Example usage:
or
.z-index--{value}
, .z--{value}
.z-index--{value}
, .z--{value}
Sets the z-index property to the specified negative value, adjusting the stacking order of the element.
CSS equivalent: z-index: -{value};
Example usage:
or
These utility classes allow you to easily control the stacking order of elements by specifying their z-index values. Positive values bring elements forward in the stacking order, while negative values send elements backward.
Last updated