---
extends: _layouts.markdown
title: "Display – Flexbox"
---
Flexbox
# Display
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.
## Flex
Use `.flex` to create a block-level flex container:
@component('_partials.code-sample')
@endcomponent
## Inline flex
Use `.inline-flex` to create an inline flex container:
@component('_partials.code-sample')
@endcomponent