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