Introduction
CSS Classes
React Components
Cssville has 16 utility classes for z-index. Add one to an element's class attribute to set the property, for example z-ind-auto. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-z-ind-auto. Add -hover to the end to apply a class only on hover, as in z-ind-auto-hover. Getting started explains how class names are built.
| Class name prefix | CSS properties |
|---|---|
| z-ind-* | z-index |
| Class name suffix | CSS properties value |
|---|---|
| *-auto | auto |
| *-0 | 0 |
| *--1 | -1 |
| *--2 | -2 |
| *--3 | -3 |
| *--4 | -4 |
| *--5 | -5 |
| *-1 | 1 |
| *-2 | 2 |
| *-3 | 3 |
| *-4 | 4 |
| *-5 | 5 |
| *-10 | 10 |
| *-100 | 100 |
| *-1000 | 1000 |
| *-9999 | 9999 |
.z-ind-auto {
z-index: auto;
}