diff --git a/docs/source/styles/flexbox/align-content.blade.md b/docs/source/styles/flexbox/align-content.blade.md index 2d30cd5c9..700e1a3ec 100644 --- a/docs/source/styles/flexbox/align-content.blade.md +++ b/docs/source/styles/flexbox/align-content.blade.md @@ -138,7 +138,7 @@ Use `.content-around` to distribute lines in a flex container such that there is ## Responsive -To apply an align content utility only at a specific breakpoint, add a `{breakpoint}:` prefix to the existing class name. For example, adding the class `md:content-around` to an element would apply the `content-around` utility at medium screen sizes and above. +To control the alignment of flex content at a specific breakpoint, add a `{breakpoint}:` prefix to any existing utility class. For example, use `md:content-around` to apply the `content-around` utility at only medium screen sizes and above. For more information about Tailwind's responsive design features, check out the [Responsive Design](#) documentation. diff --git a/docs/source/styles/flexbox/align-items.blade.md b/docs/source/styles/flexbox/align-items.blade.md index 7160831dc..364213c11 100644 --- a/docs/source/styles/flexbox/align-items.blade.md +++ b/docs/source/styles/flexbox/align-items.blade.md @@ -6,15 +6,16 @@ category: "Flexbox" # Align Items +
+ Utilities for controlling how flex items are positioned along a container's cross axis. +
+ -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. - -

Stretch Default

+### Stretch Default Use `.items-stretch` to stretch items to fill the flex container's cross axis: @@ -26,7 +27,7 @@ Use `.items-stretch` to stretch items to fill the flex container's cross axis: @endcomponent -## Start +### Start Use `.items-start` to align items to the start of the flex container's cross axis: @@ -38,7 +39,7 @@ Use `.items-start` to align items to the start of the flex container's cross axi @endcomponent -## Center +### Center Use `.items-center` to align items along the center of the flex container's cross axis: @@ -50,7 +51,7 @@ Use `.items-center` to align items along the center of the flex container's cros @endcomponent -## End +### End Use `.items-end` to align items to the end of the flex container's cross axis: @@ -63,7 +64,7 @@ Use `.items-end` to align items to the end of the flex container's cross axis: @endcomponent -## Baseline +### Baseline Use `.items-baseline` to align items along the flex container's cross axis such that all of their baselines align: @@ -74,3 +75,52 @@ Use `.items-baseline` to align items along the flex container's cross axis such
3
@endcomponent + +## Responsive + +To control the alignment of flex items at a specific breakpoint, add a `{breakpoint}:` prefix to any existing utility class. For example, use `md:content-around` to apply the `content-around` 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') +
+
1
+
2
+
3
+
+@endslot +@slot('sm') +
+
1
+
2
+
3
+
+@endslot +@slot('md') +
+
1
+
2
+
3
+
+@endslot +@slot('lg') +
+
1
+
2
+
3
+
+@endslot +@slot('xl') +
+
1
+
2
+
3
+
+@endslot +@slot('code') +
+ +
+@endslot +@endcomponent