Z-index
Tailwind CSS Z-index
Use responsive z-index utilities to control the stack order. A simple way to put elements on top of others.
Basic example
To place elements on top of others, use the .z-{value}
class.
z-40
z-30
z-20
z-10
z-0
To use a negative z-index value, prefix the class name with a dash to convert it to a negative value.
<div class="... -z-40">-z-40</div>