Grid column start / end
Utilities for controlling how elements are sized and placed across grid columns
Class reference
Spanning columns
Use the col-span-{n}
utilities to make an element span n columns.
Starting and ending lines
Use the col-start-{n}
and col-end-{n}
utilities to make an element start or end at the nth grid line. These can also be combined with the col-span-{n}
utilities to span a specific number of columns.
Note that CSS grid lines start at 1, not 0, so a full-width element in a 6-column grid would start at line 1 and end at line 7.
Responsive
To control the column placement of an element at a specific breakpoint, add a {screen}:
prefix to any existing grid-column utility. For example, use md:col-span-6
to apply the col-span-6
utility at only medium screen sizes and above.
For more information about Elements’ responsive design features, check out the Responsive Design documentation.
On this Page
v1.13.5