Skip to main content

Flexs

Utilities to control the flex of the elements

Basics

ClassProperties
flexdisplay: flex;
flex-col flex-direction: column;
flex-col-reverse flex-direction: column-reverse;
flex-row flex-direction: row;
flex-row-reverse flex-direction: row-reverse;
flex-wrapflex-wrap: wrap;
flex-wrap-reverseflex-wrap: wrap-reverse;
flex-nowrap flex-wrap: nowrap;
flex-1flex: 1;
flex-autoflex: auto;
flex-initialflex: initial;
flex-noneflex: none;;
flex-grow-0flex-grow: 0;
flex-growflex-grow: 1;
flex-shrink-0 flex-shrink: 0;
flex-shrinkflex-shrink: 1;

Align items

ClassProperties
items-centeralign-items: center
items-startalign-items: start
items-endalign-items: end
items-baselinealign-items: baseline
items-stretchalign-items: stretch

Align self

ClassProperties
self-endalign-self: end
self-centeralign-self: center
self-baselinealign-self: baseline
self-stretchalign-self: stretch

Justify content

ClassProperties
justify-startjustify-content: start
justify-endjustify-content: end
justify-betweenjustify-content: between
justify-aroundjustify-content: around
justify-evenlyjustify-content: evenly
justify-centerjustify-content: center

Gap

ClassProperties
gap-xsgap: var(--dash-size-xs);
gap-smgap: var(--dash-size-sm);
gap-mdgap: var(--dash-size-md);
gap-lggap: var(--dash-size-lg);
gap-xlgap: var(--dash-size-xl);
gap-2xlgap: var(--dash-size-2xl);
gap-3xlgap: var(--dash-size-3xl);
gap-4xlgap: var(--dash-size-4xl);
gap-5xlgap: var(--dash-size-5xl);
gap-6xlgap: var(--dash-size-6xl);
gap-7xlgap: var(--dash-size-7xl);
gap-8xlgap: var(--dash-size-8xl);
gap-9xlgap: var(--dash-size-9xl);
gap-fullgap: var(--dash-size-full);
gap-screengap: var(--dash-size-screen);