Skip to main content

Grids

Utilities to control the grid of the elements

Basic

ClassProperties
griddisplay: grid;grid-template-columns: repeat(12, 1fr);grid-gap: 1rem;

Grid Cols

ClassProperties
grid-col-xsgrid-column: span var(--dash-size-xs);
grid-col-smgrid-column: span var(--dash-size-sm);
grid-col-mdgrid-column: span var(--dash-size-md);
grid-col-lggrid-column: span var(--dash-size-lg);
grid-col-xlgrid-column: span var(--dash-size-xl);
grid-col-2xlgrid-column: span var(--dash-size-2xl);
grid-col-3xlgrid-column: span var(--dash-size-3xl);
grid-col-4xlgrid-column: span var(--dash-size-4xl);
grid-col-5xlgrid-column: span var(--dash-size-5xl);
grid-col-6xlgrid-column: span var(--dash-size-6xl);
grid-col-7xlgrid-column: span var(--dash-size-7xl);
grid-col-8xlgrid-column: span var(--dash-size-8xl);
grid-col-9xlgrid-column: span var(--dash-size-9xl);
grid-col-fullgrid-column: span var(--dash-size-full);
grid-col-screengrid-column: span var(--dash-size-screen);

Grid Rows

ClassProperties
grid-row-xsgrid-row: span var(--dash-size-xs);
grid-row-smgrid-row: span var(--dash-size-sm);
grid-row-mdgrid-row: span var(--dash-size-md);
grid-row-lggrid-row: span var(--dash-size-lg);
grid-row-xlgrid-row: span var(--dash-size-xl);
grid-row-2xlgrid-row: span var(--dash-size-2xl);
grid-row-3xlgrid-row: span var(--dash-size-3xl);
grid-row-4xlgrid-row: span var(--dash-size-4xl);
grid-row-5xlgrid-row: span var(--dash-size-5xl);
grid-row-6xlgrid-row: span var(--dash-size-6xl);
grid-row-7xlgrid-row: span var(--dash-size-7xl);
grid-row-8xlgrid-row: span var(--dash-size-8xl);
grid-row-9xlgrid-row: span var(--dash-size-9xl);
grid-row-fullgrid-row: span var(--dash-size-full);
grid-row-screengrid-row: span var(--dash-size-screen);

Grid template cols

ClassProperties
grid-t-cols-xsgrid-template-cols: repeat(var(--dash-size-xs), 1fr);
grid-t-cols-smgrid-template-cols: repeat(var(--dash-size-sm), 1fr);
grid-t-cols-mdgrid-template-cols: repeat(var(--dash-size-md), 1fr);
grid-t-cols-lggrid-template-cols: repeat(var(--dash-size-lg), 1fr);
grid-t-cols-xlgrid-template-cols: repeat(var(--dash-size-xl), 1fr);
grid-t-cols-2xlgrid-template-cols: repeat(var(--dash-size-2xl), 1fr);
grid-t-cols-3xlgrid-template-cols: repeat(var(--dash-size-3xl), 1fr);
grid-t-cols-4xlgrid-template-cols: repeat(var(--dash-size-4xl), 1fr);
grid-t-cols-5xlgrid-template-cols: repeat(var(--dash-size-5xl), 1fr);
grid-t-cols-6xlgrid-template-cols: repeat(var(--dash-size-6xl), 1fr);
grid-t-cols-7xlgrid-template-cols: repeat(var(--dash-size-7xl), 1fr);
grid-t-cols-8xlgrid-template-cols: repeat(var(--dash-size-8xl), 1fr);
grid-t-cols-9xlgrid-template-cols: repeat(var(--dash-size-9xl), 1fr);
grid-t-cols-fullgrid-template-cols: repeat(var(--dash-size-full), 1fr);
grid-t-cols-screengrid-template-cols: repeat(var(--dash-size-screen), 1fr);

Grid template rows

ClassProperties
grid-t-rows-xsgrid-template-rows: repeat(var(--dash-size-xs), 1fr);
grid-t-rows-smgrid-template-rows: repeat(var(--dash-size-sm), 1fr);
grid-t-rows-mdgrid-template-rows: repeat(var(--dash-size-md), 1fr);
grid-t-rows-lggrid-template-rows: repeat(var(--dash-size-lg), 1fr);
grid-t-rows-xlgrid-template-rows: repeat(var(--dash-size-xl), 1fr);
grid-t-rows-2xlgrid-template-rows: repeat(var(--dash-size-2xl), 1fr);
grid-t-rows-3xlgrid-template-rows: repeat(var(--dash-size-3xl), 1fr);
grid-t-rows-4xlgrid-template-rows: repeat(var(--dash-size-4xl), 1fr);
grid-t-rows-5xlgrid-template-rows: repeat(var(--dash-size-5xl), 1fr);
grid-t-rows-6xlgrid-template-rows: repeat(var(--dash-size-6xl), 1fr);
grid-t-rows-7xlgrid-template-rows: repeat(var(--dash-size-7xl), 1fr);
grid-t-rows-8xlgrid-template-rows: repeat(var(--dash-size-8xl), 1fr);
grid-t-rows-9xlgrid-template-rows: repeat(var(--dash-size-9xl), 1fr);
grid-t-rows-fullgrid-template-rows: repeat(var(--dash-size-full), 1fr);
grid-t-rows-screengrid-template-rows: repeat(var(--dash-size-screen), 1fr);

Grid gap

ClassProperties
grid-gap-xs grid-gap:var(--dash-size-xs);
grid-gap-sm grid-gap:var(--dash-size-sm);
grid-gap-md grid-gap:var(--dash-size-md);
grid-gap-lg grid-gap:var(--dash-size-lg);
grid-gap-xl grid-gap:var(--dash-size-xl);
grid-gap-2xl grid-gap:var(--dash-size-2xl);
grid-gap-3xl grid-gap:var(--dash-size-3xl);
grid-gap-4xl grid-gap:var(--dash-size-4xl);
grid-gap-5xl grid-gap:var(--dash-size-5xl);
grid-gap-6xl grid-gap:var(--dash-size-6xl);
grid-gap-7xl grid-gap:var(--dash-size-7xl);
grid-gap-8xl grid-gap:var(--dash-size-8xl);
grid-gap-9xl grid-gap:var(--dash-size-9xl);
grid-gap-full grid-gap:var(--dash-size-full);
grid-gap-screen grid-gap:var(--dash-size-screen);