← catalogo / layout/containers
TW-LA-CO-05
Tailwind Plus
tailwind/application-ui/layout/containers/05-narrow-constrained-with-padded-content
html: questa e' react, sotto c'e' il sorgente.
export default function Example() {
return (
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
{/* We've used 3xl here, but feel free to try other max-widths based on your needs */}
<div className="mx-auto max-w-3xl">{/* Content goes here */}</div>
</div>
)
}