max-w-full: Tailwind CSS Width class

The max-w-full class sets the maximum width of an element to 100% of its parent container.


Max-w-full

The max-w-full class sets the maximum width of an element to 100% of its parent container.

Example Code

html
<div class="flex justify-center items-center gap-2 p-3 rounded-t-md bg-indigo-50">
<div class="max-w-full bg-indigo-500 py-4 text-white font-bold rounded-lg px-4">
max-w-full
</div>
</div>

Preview

max-w-full

Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs

Start building stunning tailwind UIs! 

Build from scratch or select prebuilt tailwind templates