Skip to main content

Table Layout

Utilities for controlling the table layout algorithm.

CSS Property:table-layout
Classes:2

Table Layout Classes

ClassCSS
table-autotable-layout: auto;
table-fixedtable-layout: fixed;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

[table-layout:value]

Responsive Variants

Apply table layout utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:table-auto
768px+md:md:table-auto
1024px+lg:lg:table-auto
1280px+xl:xl:table-auto
1536px+2xl:2xl:table-auto