TailwindのFlexbox早見表

https://tailwindcss.com/docs/flex

# ブラウザ確認
![EuFENbQVgAM2yg0.jpeg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/645146/79b5978f-5e97-2262-f97d-358d23bfa5c1.jpeg)

# コード

```slim:slim
.flex.w-full.bg-gray-300
  .flex-1.bg-red-300.text-center.mt-1.mx-1
    | flex-1
  .flex-1.bg-yellow-300.text-center.mt-1.mx-1
    | flex-1
  .flex-1.bg-green-300.text-center.mt-1.mx-1
    | flex-1
.flex.w-full.bg-gray-300
  .flex-1.bg-red-300.text-center.mt-1.mx-1
    | flex-1
  .flex-1.bg-yellow-300.text-center.mt-1.mx-1
    | flex-1
  .flex-auto.bg-green-300.text-center.mt-1.mx-1
    | flex-auto
.flex.w-full.bg-gray-300
  .flex-1.bg-red-300.text-center.mt-1.mx-1
    | flex-1
  .flex-1.bg-yellow-300.text-center.mt-1.mx-1
    | flex-1
  .flex-initial.bg-green-300.text-center.mt-1.mx-1
    | flex-initial
.flex.w-full.bg-gray-300
  .flex-1.bg-red-300.text-center.mt-1.mx-1
    | flex-1
  .flex-auto.bg-yellow-300.text-center.mt-1.mx-1
    | flex-auto
  .flex-1.bg-green-300.text-center.mt-1.mx-1
    | flex-1
.flex.w-full.bg-gray-300
  .flex-1.bg-red-300.text-center.mt-1.mx-1
    | flex-1
  .flex-auto.bg-yellow-300.text-center.mt-1.mx-1
    | flex-auto
  .flex-auto.bg-green-300.text-center.mt-1.mx-1
    | flex-auto
.flex.w-full.bg-gray-300
  .flex-1.bg-red-300.text-center.mt-1.mx-1
    | flex-1
  .flex-auto.bg-yellow-300.text-center.mt-1.mx-1
    | flex-auto
  .flex-initial.bg-green-300.text-center.mt-1.mx-1
    | flex-initial
.flex.w-full.bg-gray-300
  .flex-1.bg-red-300.text-center.mt-1.mx-1
    | flex-1
  .flex-initial.bg-yellow-300.text-center.mt-1.mx-1
    | flex-initial
  .flex-1.bg-green-300.text-center.mt-1.mx-1
    | flex-1
.flex.w-full.bg-gray-300
  .flex-1.bg-red-300.text-center.mt-1.mx-1
    | flex-1
  .flex-initial.bg-yellow-300.text-center.mt-1.mx-1
    | flex-initial
  .flex-auto.bg-green-300.text-center.mt-1.mx-1
    | flex-auto
.flex.w-full.bg-gray-300
  .flex-1.bg-red-300.text-center.mt-1.mx-1
    | flex-1
  .flex-initial.bg-yellow-300.text-center.mt-1.mx-1
    | flex-initial
  .flex-initial.bg-green-300.text-center.mt-1.mx-1
    | flex-initial

.flex.w-full.bg-gray-300
  .flex-auto.bg-red-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-1.bg-yellow-300.text-center.mt-1.mx-1
   | flex-1
  .flex-1.bg-green-300.text-center.mt-1.mx-1
   | flex-1
.flex.w-full.bg-gray-300
  .flex-auto.bg-red-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-1.bg-yellow-300.text-center.mt-1.mx-1
   | flex-1
  .flex-auto.bg-green-300.text-center.mt-1.mx-1
   | flex-auto
.flex.w-full.bg-gray-300
  .flex-auto.bg-red-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-1.bg-yellow-300.text-center.mt-1.mx-1
   | flex-1
  .flex-initial.bg-green-300.text-center.mt-1.mx-1
   | flex-initial
.flex.w-full.bg-gray-300
  .flex-auto.bg-red-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-auto.bg-yellow-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-1.bg-green-300.text-center.mt-1.mx-1
   | flex-1
.flex.w-full.bg-gray-300
  .flex-auto.bg-red-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-auto.bg-yellow-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-auto.bg-green-300.text-center.mt-1.mx-1
   | flex-auto
.flex.w-full.bg-gray-300
  .flex-auto.bg-red-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-initial.bg-yellow-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-1.bg-green-300.text-center.mt-1.mx-1
   | flex-1
.flex.w-full.bg-gray-300
  .flex-auto.bg-red-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-initial.bg-yellow-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-auto.bg-green-300.text-center.mt-1.mx-1
   | flex-auto
.flex.w-full.bg-gray-300
  .flex-auto.bg-red-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-initial.bg-yellow-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-initial.bg-green-300.text-center.mt-1.mx-1
   | flex-initial

.flex.w-full.bg-gray-300
  .flex-initial.bg-red-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-1.bg-yellow-300.text-center.mt-1.mx-1
   | flex-1
  .flex-1.bg-green-300.text-center.mt-1.mx-1
   | flex-1
.flex.w-full.bg-gray-300
  .flex-initial.bg-red-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-1.bg-yellow-300.text-center.mt-1.mx-1
   | flex-1
  .flex-auto.bg-green-300.text-center.mt-1.mx-1
   | flex-auto
.flex.w-full.bg-gray-300
  .flex-initial.bg-red-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-1.bg-yellow-300.text-center.mt-1.mx-1
   | flex-1
  .flex-initial.bg-green-300.text-center.mt-1.mx-1
   | flex-initial
.flex.w-full.bg-gray-300
  .flex-initial.bg-red-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-auto.bg-yellow-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-1.bg-green-300.text-center.mt-1.mx-1
   | flex-1
.flex.w-full.bg-gray-300
  .flex-initial.bg-red-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-auto.bg-yellow-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-auto.bg-green-300.text-center.mt-1.mx-1
   | flex-auto
.flex.w-full.bg-gray-300
  .flex-initial.bg-red-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-auto.bg-yellow-300.text-center.mt-1.mx-1
   | flex-auto
  .flex-initial.bg-green-300.text-center.mt-1.mx-1
   | flex-initial
.flex.w-full.bg-gray-300
  .flex-initial.bg-red-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-initial.bg-yellow-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-1.bg-green-300.text-center.mt-1.mx-1
   | flex-1
.flex.w-full.bg-gray-300
  .flex-initial.bg-red-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-initial.bg-yellow-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-auto.bg-green-300.text-center.mt-1.mx-1
   | flex-auto
.flex.w-full.bg-gray-300
  .flex-initial.bg-red-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-initial.bg-yellow-300.text-center.mt-1.mx-1
   | flex-initial
  .flex-initial.bg-green-300.text-center.mt-1.mx-1
   | flex-initial

```