w-max: Tailwind CSS Width class
The w-max class allows the width of the element to expand up to the content maximum width.
w-max
The w-max class allows the width of the element to expand up to the content's maximum width.
Example Code
html
<div class="flex justify-center items-center gap-2 p-3 rounded-t-md bg-indigo-50"><div class="w-max bg-indigo-500 py-4 text-white font-bold rounded-lg px-4 text-center"> w-max</div></div>
Preview
w-max
Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs
Start building stunning tailwind UIs!
