Position
Apply display properties of an element
Classes
| Class | Properties |
|---|---|
| .static | position: static; |
| .fixed | position: fixed; |
| .absolute | position: absolute; |
| .relative | position: relative; |
| .sticky | position: sticky; |
| .z-auto | z-index: auto; |
| .z-[1-10] | z-index: [10, 20, 30...80, 90, 100]; |
| .top-0 | top: 0; |
| .top-auto | top: auto; |
| .bottom-0 | bottom: 0; |
| .bottom-auto | bottom: auto; |
| .left-0 | left: 0; |
| .left-auto | left: auto; |
| .right-0 | right: 0; |
| .right-auto | right: auto; |
Positioning
.top-0.left-0
.top-0.right-0
.bottom-0.left-0
.bottom-0.right-0