Grid span
Tailwind CSS Grid span
Use responsive grid span utilities with TW elements. Learn how to control how elements are sized and placed across grid columns and rows.
Spanning columns
Use the .col-span-{n}
class to make an element span
n
columns.
Need even more robust tables? Try Data Den.
- Quick customization & hyper-focus on data management
- Easily integrate it with any project (not only MDB)
- Column Pinning, Drag&Drop Columns, Advanced Filtering & much more
For enterprise projects & users seeking advanced data controls. Tailor your data your way.
Column starting and ending lines
Use the .col-start-{n}
and .col-end-{n}
classes
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.
Spanning rows
Use the .row-span-{n}
class to make an element span
n
rows.
Row starting and ending lines
Use the .row-start-{n}
and .row-end-{n}
classes
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.