mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
2.0 KiB
2.0 KiB
| extends | title |
|---|---|
| _layouts.markdown | Flexbox |
Flexbox
Flex Wrapping
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.
No wrapping
Use .flex-no-wrap to prevent flex items from wrapping (this is also the default behavior):
@component('_partials.code-sample')
1
2
3
Wrap normally
Use .flex-wrap to allow flex items to wrap:
@component('_partials.code-sample')
1
2
3
Wrap reversed
Use .flex-wrap-reverse to wrap flex items in the reverse direction:
@component('_partials.code-sample')
1
2
3