---
extends: _layouts.markdown
title: "Justify Content - Flexbox"
category: "Flexbox"
---
# Justify Content
Utilities for controlling flex items are positioned along a container's main axis.
### Start Default
Use `.justify-start` to justify items against the start of the flex container's main axis:
@component('_partials.code-sample')
@endcomponent
### Center
Use `.justify-center` to justify items along the center of the flex container's main axis:
@component('_partials.code-sample')
@endcomponent
### End
Use `.justify-end` to justify items against the end of the flex container's main axis:
@component('_partials.code-sample')
@endcomponent
### Space between
Use `.justify-between` to justify items along the flex container's main axis such that there is an equal amount of space between each item:
@component('_partials.code-sample')
@endcomponent
### Space around
Use `.justify-around` to justify items along the flex container's main axis such that there is an equal amount of space around each item:
@component('_partials.code-sample')
@endcomponent
## Responsive
To justify flex items at a specific breakpoint, add a `{breakpoint}:` prefix to any existing utility class. For example, use `md:justify-between` to apply the `justify-between` utility at only medium screen sizes and above.
For more information about Tailwind's responsive design features, check out the [Responsive Design](#) documentation.
@component('_partials.responsive-code-sample')
@slot('none')
@endslot
@slot('sm')
@endslot
@slot('md')
@endslot
@slot('lg')
@endslot
@slot('xl')
@endslot
@slot('code')
@endslot
@endcomponent