mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Add flex-none helper
This commit is contained in:
parent
ad36272906
commit
a8ce85ed1b
@ -69,7 +69,7 @@ Columns can be different widths:
|
||||
|
||||
Rows can overflow and wrap:
|
||||
|
||||
<div class="flex mb-6">
|
||||
<div class="flex flex-wrap mb-6">
|
||||
<div class="w-full md:w-1/3">
|
||||
<div class="flex-center h-16 bg-dark-softer text-light">
|
||||
.md:w-1/3
|
||||
@ -132,29 +132,29 @@ Column widths can be automatic:
|
||||
Fixed width columns are still respected even if a smaller screen has auto column widths:
|
||||
|
||||
<div class="flex mb-6">
|
||||
<div class="flex-fill md:w-1/6">
|
||||
<div class="flex-fill md:w-1/6 md:flex-none">
|
||||
<div class="flex-center h-16 bg-dark-softer text-light">
|
||||
.flex-fill.md:w-1/6
|
||||
.flex-fill.md:w-1/6.md:flex-none
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-fill md:w-1/6">
|
||||
<div class="flex-fill md:w-1/6 md:flex-none">
|
||||
<div class="flex-center h-16 bg-dark-soft text-light">
|
||||
.flex-fill.md:w-1/6
|
||||
.flex-fill.md:w-1/6.md:flex-none
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-fill md:w-1/6">
|
||||
<div class="flex-fill md:w-1/6 md:flex-none">
|
||||
<div class="flex-center h-16 bg-dark-softer text-light">
|
||||
.flex-fill.md:w-1/6
|
||||
.flex-fill.md:w-1/6.md:flex-none
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-fill md:w-1/6">
|
||||
<div class="flex-fill md:w-1/6 md:flex-none">
|
||||
<div class="flex-center h-16 bg-dark-soft text-light">
|
||||
.flex-fill.md:w-1/6
|
||||
.flex-fill.md:w-1/6.md:flex-none
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-fill md:w-1/6">
|
||||
<div class="flex-fill md:w-1/6 md:flex-none">
|
||||
<div class="flex-center h-16 bg-dark-softer text-light">
|
||||
.flex-fill.md:w-1/6
|
||||
.flex-fill.md:w-1/6.md:flex-none
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user