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