Position relative
Tailwind CSS Position relative
Use responsive position relative utilities with TW elements. Position the element relative to its normal position, taking into account the offsets.
Basic example
Use .relative
class that allows the element to be positioned
relative to its normal position in the document flow.
Any offsets are calculated relative to the element’s normal position and the element will act as a position reference for absolutely positioned children.
Relative parent
Absolute child