Grid / Flexbox
Grid Template Columns
grid-cols-none | grid-template-columns: none; |
grid-cols-1 | grid-template-columns: repeat(1, minmax(0, 1fr)); |
grid-cols-2 | grid-template-columns: repeat(2, minmax(0, 2fr)); |
grid-cols-3 | grid-template-columns: repeat(3, minmax(0, 3fr)); |
grid-cols-4 | grid-template-columns: repeat(4, minmax(0, 4fr)); |
grid-cols-5 | grid-template-columns: repeat(5, minmax(0, 5fr)); |
grid-cols-6 | grid-template-columns: repeat(6, minmax(0, 6fr)); |
grid-cols-7 | grid-template-columns: repeat(7, minmax(0, 7fr)); |
grid-cols-8 | grid-template-columns: repeat(8, minmax(0, 8fr)); |
grid-cols-9 | grid-template-columns: repeat(9, minmax(0, 9fr)); |
grid-cols-10 | grid-template-columns: repeat(10, minmax(0, 10fr)); |
grid-cols-11 | grid-template-columns: repeat(11, minmax(0, 11fr)); |
grid-cols-12 | grid-template-columns: repeat(12, minmax(0, 12fr)); |
Grid Column Start / End
col-auto | grid-column: auto |
col-span-1 | grid-column: span 1 / span 1; |
col-span-2 | grid-column: span 2 / span 2; |
col-span-3 | grid-column: span 3 / span 3; |
col-span-4 | grid-column: span 4 / span 4; |
col-span-5 | grid-column: span 5 / span 5; |
col-span-6 | grid-column: span 6 / span 6; |
col-span-7 | grid-column: span 7 / span 7; |
col-span-8 | grid-column: span 8 / span 8; |
col-span-1 | grid-column: span 9 / span 9; |
col-span-10 | grid-column: span 10 / span 10; |
col-span-11 | grid-column: span 11 / span 11; |
col-span-12 | grid-column: span 12 / span 12; |
col-span-full | grid-column: 1 / -1; |
col-start-auto | grid-column-start: auto; |
col-start-1 | grid-column-start: 1; |
col-start-2 | grid-column-start: 2; |
col-start-3 | grid-column-start: 3; |
col-start-4 | grid-column-start: 4; |
col-start-5 | grid-column-start: 5; |
col-start-6 | grid-column-start: 6; |
col-start-7 | grid-column-start: 7; |
col-start-8 | grid-column-start: 8; |
col-start-9 | grid-column-start: 9; |
col-start-10 | grid-column-start: 10; |
col-start-11 | grid-column-start: 11; |
col-start-12 | grid-column-start: 12; |
col-start-13 | grid-column-start: 13; |
col-end-auto | grid-column-end: auto; |
col-end-1 | grid-column-end: 1; |
col-end-2 | grid-column-end: 2; |
col-end-3 | grid-column-end: 3; |
col-end-4 | grid-column-end: 4; |
col-end-5 | grid-column-end: 5; |
col-end-6 | grid-column-end: 6; |
col-end-7 | grid-column-end: 7; |
col-end-8 | grid-column-end: 8; |
col-end-9 | grid-column-end: 9; |
col-end-10 | grid-column-end: 10; |
col-end-11 | grid-column-end: 11; |
col-end-12 | grid-column-end: 12; |
col-end-13 | grid-column-end: 13; |
Grid Template Rows
grid-rows-none | grid-template-rows: none; |
grid-rows-1 | grid-template-rows: repeat(1, minmax(0, 1fr)); |
grid-rows-2 | grid-template-rows: repeat(2, minmax(0, 2fr)); |
grid-rows-3 | grid-template-rows: repeat(3, minmax(0, 3fr)); |
grid-rows-4 | grid-template-rows: repeat(4, minmax(0, 4fr)); |
grid-rows-5 | grid-template-rows: repeat(5, minmax(0, 5fr)); |
grid-rows-6 | grid-template-rows: repeat(6, minmax(0, 6fr)); |
grid-rows-7 | grid-template-rows: repeat(7, minmax(0, 7fr)); |
grid-rows-8 | grid-template-rows: repeat(8, minmax(0, 8fr)); |
grid-rows-9 | grid-template-rows: repeat(9, minmax(0, 9fr)); |
grid-rows-10 | grid-template-rows: repeat(10, minmax(0, 10fr)); |
grid-rows-11 | grid-template-rows: repeat(11, minmax(0, 11fr)); |
grid-rows-12 | grid-template-rows: repeat(12, minmax(0, 12fr)); |
Grid Row Start / End
row-auto | grid-row: auto |
row-span-1 | grid-row: span 1 / span 1; |
row-span-2 | grid-row: span 2 / span 2; |
row-span-3 | grid-row: span 3 / span 3; |
row-span-4 | grid-row: span 4 / span 4; |
row-span-5 | grid-row: span 5 / span 5; |
row-span-6 | grid-row: span 6 / span 6; |
row-span-7 | grid-row: span 7 / span 7; |
row-span-8 | grid-row: span 8 / span 8; |
row-span-1 | grid-row: span 9 / span 9; |
row-span-10 | grid-row: span 10 / span 10; |
row-span-11 | grid-row: span 11 / span 11; |
row-span-12 | grid-row: span 12 / span 12; |
row-span-full | grid-row: 1 / -1; |
row-start-auto | grid-row-start: auto; |
row-start-1 | grid-row-start: 1; |
row-start-2 | grid-row-start: 2; |
row-start-3 | grid-row-start: 3; |
row-start-4 | grid-row-start: 4; |
row-start-5 | grid-row-start: 5; |
row-start-6 | grid-row-start: 6; |
row-start-7 | grid-row-start: 7; |
row-start-8 | grid-row-start: 8; |
row-start-9 | grid-row-start: 9; |
row-start-10 | grid-row-start: 10; |
row-start-11 | grid-row-start: 11; |
row-start-12 | grid-row-start: 12; |
row-start-13 | grid-row-start: 13; |
row-end-auto | grid-row-end: auto; |
row-end-1 | grid-row-end: 1; |
row-end-2 | grid-row-end: 2; |
row-end-3 | grid-row-end: 3; |
row-end-4 | grid-row-end: 4; |
row-end-5 | grid-row-end: 5; |
row-end-6 | grid-row-end: 6; |
row-end-7 | grid-row-end: 7; |
row-end-8 | grid-row-end: 8; |
row-end-9 | grid-row-end: 9; |
row-end-10 | grid-row-end: 10; |
row-end-11 | grid-row-end: 11; |
row-end-12 | grid-row-end: 12; |
row-end-13 | grid-row-end: 13; |
Grid Auto Flow
grid-flow-row | grid-auto-flow: row; |
grid-flow-col | grid-auto-flow: column; |
grid-flow-row-dense | grid-auto-flow: row dense; |
grid-flow-col-dense | grid-auto-flow: column dense; |
Grid Auto Columns
auto-cols-auto | grid-auto-columns: auto; |
auto-cols-min | grid-auto-columns: min-content; |
auto-cols-max | grid-auto-columns: max-content; |
auto-cols-fr | grid-auto-columns: minmax(0, 1fr); |
Grid Auto Rows
auto-rows-auto | grid-auto-rows: auto; |
auto-rows-min | grid-auto-rows: min-content; |
auto-rows-max | grid-auto-rows: max-content; |
auto-rows-fr | grid-auto-rows: minmax(0, 1fr); |
Gap
gap-0 | gap: 0; |
gap-0.5 | gap: 0.0625rem; /* 1px */ |
gap-1 | gap: 0.125rem; /* 2px */ |
gap-1.5 | gap: 0.25rem; /* 4px */ |
gap-2 | gap: 0.375rem; /* 6px */ |
gap-2.5 | gap: 0.5rem; /* 8px */ |
gap-3 | gap: 0625rem; /* 10px */ |
gap-3.5 | gap: 0.75rem; /* 12px */ |
gap-4 | gap: 0.875rem; /* 14px */ |
gap-5 | gap: 1rem; /* 16px */ |
gap-6 | gap: 1.25rem; /* 20px */ |
gap-7 | gap: 1.5rem; /* 24px */ |
gap-8 | gap: 1.75rem; /* 28px */ |
gap-9 | gap: 2rem; /* 32px */ |
gap-10 | gap: 2.25rem; /* 36px */ |
gap-11 | gap: 2.5rem; /* 40px */ |
gap-12 | gap: 2.75rem; /* 44px */ |
gap-14 | gap: 3rem; /* 48px */ |
gap-16 | gap: 3.25rem; /* 52px */ |
gap-20 | gap: 3.5rem; /* 56px */ |
gap-24 | gap: 3.75rem; /* 60px */ |
gap-28 | gap: 4rem; /* 64px */ |
gap-32 | gap: 5rem; /* 80px */ |
gap-36 | gap: 6rem; /* 96px */ |
gap-40 | gap: 7rem; /* 112px */ |
gap-44 | gap: 8rem; /* 128px */ |
gap-48 | gap: 9rem; /* 144px */ |
gap-52 | gap: 10rem; /* 160px */ |
gap-56 | gap: 11rem; /* 176px */ |
gap-60 | gap: 12rem; /* 192px */ |
gap-64 | gap: 13rem; /* 208px */ |
gap-72 | gap: 14rem; /* 224px */ |
gap-80 | gap: 15rem; /* 240px */ |
gap-88 | gap: 16rem; /* 256px */ |
gap-96 | gap: 18rem; /* 288px */ |
gap-104 | gap: 20rem; /* 320px */ |
gap-112 | gap: 22rem; /* 352px */ |
gap-120 | gap: 24rem; /* 384px */ |
gap-128 | gap: 26rem; /* 416px */ |
gap-136 | gap: 28rem; /* 448px */ |
gap-144 | gap: 30rem; /* 480px */ |
gap-152 | gap: 32rem; /* 512px */ |
Column Gap
gap-x-0 | column-gap: 0; |
gap-x-0.5 | column-gap: 0.0625rem; /* 1px */ |
gap-x-1 | column-gap: 0.125rem; /* 2px */ |
gap-x-1.5 | column-gap: 0.25rem; /* 4px */ |
gap-x-2 | column-gap: 0.375rem; /* 6px */ |
gap-x-2.5 | column-gap: 0.5rem; /* 8px */ |
gap-x-3 | column-gap: 0625rem; /* 10px */ |
gap-x-3.5 | column-gap: 0.75rem; /* 12px */ |
gap-x-4 | column-gap: 0.875rem; /* 14px */ |
gap-x-5 | column-gap: 1rem; /* 16px */ |
gap-x-6 | column-gap: 1.25rem; /* 20px */ |
gap-x-7 | column-gap: 1.5rem; /* 24px */ |
gap-x-8 | column-gap: 1.75rem; /* 28px */ |
gap-x-9 | column-gap: 2rem; /* 32px */ |
gap-x-10 | column-gap: 2.25rem; /* 36px */ |
gap-x-11 | column-gap: 2.5rem; /* 40px */ |
gap-x-12 | column-gap: 2.75rem; /* 44px */ |
gap-x-14 | column-gap: 3rem; /* 48px */ |
gap-x-16 | column-gap: 3.25rem; /* 52px */ |
gap-x-20 | column-gap: 3.5rem; /* 56px */ |
gap-x-24 | column-gap: 3.75rem; /* 60px */ |
gap-x-28 | column-gap: 4rem; /* 64px */ |
gap-x-32 | column-gap: 5rem; /* 80px */ |
gap-x-36 | column-gap: 6rem; /* 96px */ |
gap-x-40 | column-gap: 7rem; /* 112px */ |
gap-x-44 | column-gap: 8rem; /* 128px */ |
gap-x-48 | column-gap: 9rem; /* 144px */ |
gap-x-52 | column-gap: 10rem; /* 160px */ |
gap-x-56 | column-gap: 11rem; /* 176px */ |
gap-x-60 | column-gap: 12rem; /* 192px */ |
gap-x-64 | column-gap: 13rem; /* 208px */ |
gap-x-72 | column-gap: 14rem; /* 224px */ |
gap-x-80 | column-gap: 15rem; /* 240px */ |
gap-x-88 | column-gap: 16rem; /* 256px */ |
gap-x-96 | column-gap: 18rem; /* 288px */ |
gap-x-104 | column-gap: 20rem; /* 320px */ |
gap-x-112 | column-gap: 22rem; /* 352px */ |
gap-x-120 | column-gap: 24rem; /* 384px */ |
gap-x-128 | column-gap: 26rem; /* 416px */ |
gap-x-136 | column-gap: 28rem; /* 448px */ |
gap-x-144 | column-gap: 30rem; /* 480px */ |
gap-x-152 | column-gap: 32rem; /* 512px */ |
Row Gap
gap-y-0 | row-gap: 0; |
gap-y-0.5 | row-gap: 0.0625rem; /* 1px */ |
gap-y-1 | row-gap: 0.125rem; /* 2px */ |
gap-y-1.5 | row-gap: 0.25rem; /* 4px */ |
gap-y-2 | row-gap: 0.375rem; /* 6px */ |
gap-y-2.5 | row-gap: 0.5rem; /* 8px */ |
gap-y-3 | row-gap: 0625rem; /* 10px */ |
gap-y-3.5 | row-gap: 0.75rem; /* 12px */ |
gap-y-4 | row-gap: 0.875rem; /* 14px */ |
gap-y-5 | row-gap: 1rem; /* 16px */ |
gap-y-6 | row-gap: 1.25rem; /* 20px */ |
gap-y-7 | row-gap: 1.5rem; /* 24px */ |
gap-y-8 | row-gap: 1.75rem; /* 28px */ |
gap-y-9 | row-gap: 2rem; /* 32px */ |
gap-y-10 | row-gap: 2.25rem; /* 36px */ |
gap-y-11 | row-gap: 2.5rem; /* 40px */ |
gap-y-12 | row-gap: 2.75rem; /* 44px */ |
gap-y-14 | row-gap: 3rem; /* 48px */ |
gap-y-16 | row-gap: 3.25rem; /* 52px */ |
gap-y-20 | row-gap: 3.5rem; /* 56px */ |
gap-y-24 | row-gap: 3.75rem; /* 60px */ |
gap-y-28 | row-gap: 4rem; /* 64px */ |
gap-y-32 | row-gap: 5rem; /* 80px */ |
gap-y-36 | row-gap: 6rem; /* 96px */ |
gap-y-40 | row-gap: 7rem; /* 112px */ |
gap-y-44 | row-gap: 8rem; /* 128px */ |
gap-y-48 | row-gap: 9rem; /* 144px */ |
gap-y-52 | row-gap: 10rem; /* 160px */ |
gap-y-56 | row-gap: 11rem; /* 176px */ |
gap-y-60 | row-gap: 12rem; /* 192px */ |
gap-y-64 | row-gap: 13rem; /* 208px */ |
gap-y-72 | row-gap: 14rem; /* 224px */ |
gap-y-80 | row-gap: 15rem; /* 240px */ |
gap-y-88 | row-gap: 16rem; /* 256px */ |
gap-y-96 | row-gap: 18rem; /* 288px */ |
gap-y-104 | row-gap: 20rem; /* 320px */ |
gap-y-112 | row-gap: 22rem; /* 352px */ |
gap-y-120 | row-gap: 24rem; /* 384px */ |
gap-y-128 | row-gap: 26rem; /* 416px */ |
gap-y-136 | row-gap: 28rem; /* 448px */ |
gap-y-144 | row-gap: 30rem; /* 480px */ |
gap-y-152 | row-gap: 32rem; /* 512px */ |
Order
order-1 | order: 1; |
order-2 | order: 2; |
order-3 | order: 3; |
order-4 | order: 4; |
order-5 | order: 5; |
order-6 | order: 6; |
order-7 | order: 7; |
order-8 | order: 8; |
order-9 | order: 9; |
order-10 | order: 10; |
order-11 | order: 11; |
order-12 | order: 12; |
order-first | order: -9999; |
order-last | order: 9999; |
order-none | order: none; |
Flex Direction
flex-col | flex-direction: column; |
flex-col-rev | flex-direction: column-reverse; |
flex-row | flex-direction: row; |
flex-row-rev | flex-direction: row-reverse; |
Flex Basis
basis-0 | flex-basis: 0; |
basis-0.5 | flex-basis: 0.0625rem; /* 1px */ |
basis-1 | flex-basis: 0.125rem; /* 2px */ |
basis-1.5 | flex-basis: 0.25rem; /* 4px */ |
basis-2 | flex-basis: 0.375rem; /* 6px */ |
basis-2.5 | flex-basis: 0.5rem; /* 8px */ |
basis-3 | flex-basis: 0625rem; /* 10px */ |
basis-3.5 | flex-basis: 0.75rem; /* 12px */ |
basis-4 | flex-basis: 0.875rem; /* 14px */ |
basis-5 | flex-basis: 1rem; /* 16px */ |
basis-6 | flex-basis: 1.25rem; /* 20px */ |
basis-7 | flex-basis: 1.5rem; /* 24px */ |
basis-8 | flex-basis: 1.75rem; /* 28px */ |
basis-9 | flex-basis: 2rem; /* 32px */ |
basis-10 | flex-basis: 2.25rem; /* 36px */ |
basis-11 | flex-basis: 2.5rem; /* 40px */ |
basis-12 | flex-basis: 2.75rem; /* 44px */ |
basis-14 | flex-basis: 3rem; /* 48px */ |
basis-16 | flex-basis: 3.25rem; /* 52px */ |
basis-20 | flex-basis: 3.5rem; /* 56px */ |
basis-24 | flex-basis: 3.75rem; /* 60px */ |
basis-28 | flex-basis: 4rem; /* 64px */ |
basis-32 | flex-basis: 5rem; /* 80px */ |
basis-36 | flex-basis: 6rem; /* 96px */ |
basis-40 | flex-basis: 7rem; /* 112px */ |
basis-44 | flex-basis: 8rem; /* 128px */ |
basis-48 | flex-basis: 9rem; /* 144px */ |
basis-52 | flex-basis: 10rem; /* 160px */ |
basis-56 | flex-basis: 11rem; /* 176px */ |
basis-60 | flex-basis: 12rem; /* 192px */ |
basis-64 | flex-basis: 13rem; /* 208px */ |
basis-72 | flex-basis: 14rem; /* 224px */ |
basis-80 | flex-basis: 15rem; /* 240px */ |
basis-88 | flex-basis: 16rem; /* 256px */ |
basis-96 | flex-basis: 18rem; /* 288px */ |
basis-104 | flex-basis: 20rem; /* 320px */ |
basis-112 | flex-basis: 22rem; /* 352px */ |
basis-120 | flex-basis: 24rem; /* 384px */ |
basis-128 | flex-basis: 26rem; /* 416px */ |
basis-136 | flex-basis: 28rem; /* 448px */ |
basis-144 | flex-basis: 30rem; /* 480px */ |
basis-152 | flex-basis: 32rem; /* 512px */ |
basis-1/2 | flex-basis: 50%; |
basis-1/3 | flex-basis: 33.33333%; |
basis-2/3 | flex-basis: 66.66667%; |
basis-1/4 | flex-basis: 25%; |
basis-2/4 | flex-basis: 50%); |
basis-3/4 | flex-basis: 75%; |
basis-1/5 | flex-basis: 20%; |
basis-2/5 | flex-basis: 40%; |
basis-3/5 | flex-basis: 60%; |
basis-4/5 | flex-basis: 80%; |
basis-1/6 | flex-basis: 16.66667%; |
basis-2/6 | flex-basis: 33.33333%; |
basis-3/6 | flex-basis: 50%; |
basis-4/6 | flex-basis: 66.66667%; |
basis-5/6 | flex-basis: 83.33333%; |
Flex
flex-1 | flex: 1; |
flex-auto | flex: auto; |
flex-initial | flex: initial; |
flex-none | flex: none; |
Flex Wrap
flex-wrap | flex-wrap: wrap; |
flex-wrap-reverse | flex-wrap: wrap-reverse; |
flex-wrap-nowrap | flex-wrap: nowrap; |
Flex Grow
grow | flex-grow: 1; |
grow-0 | flex-grow: 0; |
Flex Shrink
shrink | flex-shrink: 1; |
shrink-0 | flex-shrink: 0; |
Justify Content
justify-center | justify-content: center; |
justify-start | justify-content: flex-start; |
justify-end | justify-content: flex-end; |
justify-between | justify-content: space-between; |
justify-around | justify-content: space-around; |
justify-evenly | justify-content: space-evenly; |
Justify Items
justify-items-center | justify-items: center; |
justify-items-start | justify-items: start; |
justify-items-end | justify-items: end; |
justify-items-stretch | justify-items: stretch; |
Justify Self
justify-self-center | justify-self: center; |
justify-self-start | justify-self: start; |
justify-self-end | justify-self: end; |
justify-self-stretch | justify-self: stretch; |
Align Content
align-content-center | align-content: center; |
align-content-start | align-content: flex-start; |
align-content-end | align-content: flex-end; |
align-content-between | align-content: space-between; |
align-content-around | align-content: space-around; |
align-content-evenly | align-content: space-evenly; |
Align Items
align-items-center | align-items: center; |
align-items-start | align-items: flex-start; |
align-items-end | align-items: flex-end; |
align-items-baseline | align-items: baseline; |
align-items-stretch | align-items: stretch; |
Align Self
align-self-auto | align-self: auto; |
align-self-center | align-self: center; |
align-self-start | align-self: flex-start; |
align-self-end | align-self: flex-end; |
align-self-baseline | align-self: baseline; |
align-self-stretch | align-self: stretch; |
Center
center | justify-content: center; align-items: center; |