Skip to content

Glossary: Tailwind CSS

container (class)

Also written: container

A Tailwind class that sets an element's `max-width` to a value that changes at each screen size. Fixed `max-w-` classes such as `max-w-5xl` are usually preferred because they are more predictable.

Where the book teaches it

Related terms

Breakpoint