mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
2.2 KiB
2.2 KiB
| extends | title |
|---|---|
| _layouts.markdown | Flexbox |
Flexbox
Flex Direction
Tailwind provides a comprehensive set of Flexbox utilities out of the box to make it easy for you to implement complex layouts without having to write any new CSS.
Row Default
Use .flex-row to position flex items horizontally in the same direction as text:
@component('_partials.code-sample')
1
2
3
Row reversed
Use .flex-row-reverse to position flex items horizontally in the opposite direction:
@component('_partials.code-sample')
1
2
3
Column
Use .flex-col to position flex items vertically:
@component('_partials.code-sample')
1
2
3
Column reversed
Use .flex-col-reverse to position flex items vertically in the opposite direction:
@component('_partials.code-sample')
1
2
3