Windframe
Build Tailwind UIs that actually look good!
.jpg)
The w-max class allows the width of the element to expand up to the content maximum width.
The w-max class allows the width of the element to expand up to the content's maximum width.
<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>w-max
Add the w-max class directly to your HTML element:
<div class="w-max"> <!-- Your content here --></div>Use Tailwind's responsive prefixes to apply w-max at specific breakpoints:
<div class="sm:w-max md:w-max lg:w-max"> Responsive element</div>sm:w-max — applies from 640px and upmd:w-max — applies from 768px and uplg:w-max — applies from 1024px and upYou can extend or override this utility in your tailwind.config.js. See the Tailwind CSS documentation for details on customizing your theme.
Windframe is an AI visual editor for rapidly building stunning web UIs & websites
