A max-width utility constrains a reading column even when its parent occupies the whole viewport. Font size still determines how many characters fit.
Worked example
<p class="demo max-w-[32ch]">
A comfortable line length makes longer paragraphs easier to read and follow.
</p>Implementation notes
A maximum based on rem follows the reader's chosen base text size. Verify that a larger text preference produces the intended line length.
Try it yourself
Compare prose at the default text size and at 200 percent zoom.
Open the Tailwind CSS example →Editorial date October 16, 2026 · Published December 6, 2026