Skip to main content

Caption Side

Utilities for controlling the position of a table caption.

CSS Property:caption-side
Classes:2

Caption Side Classes

ClassCSS
caption-topcaption-side: top;
caption-bottomcaption-side: bottom;

Arbitrary Values

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

[caption-side:value]

Responsive Variants

Apply caption side utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:caption-top
768px+md:md:caption-top
1024px+lg:lg:caption-top
1280px+xl:xl:caption-top
1536px+2xl:2xl:caption-top