Top / Right / Bottom / Left
Usage
Use the t.{top|right|bottom|left|start|end|inset}0
utilities to anchor absolutely positioned elements against any of the edges of the nearest positioned parent.
Combined with Tailwind’s padding and margin utilities, you’ll probably find that these are all you need to precisely control absolutely positioned elements.
[t.insetX0, t.top0]
[t.insetY0, t.right0]
[t.insetX0, t.bottom0]
[t.insetY0, t.left0]
[t.inset0]
[t.left0, t.top0]
[t.top0, t.right0]
[t.right0, t.bottom0]
[t.bottom0, t.left0]
Directional
These directional positioning style options are available in react-native
.
direction ltr
t.start0
t.end0
direction rtl
t.start0
t.end0