Windframe
Build Tailwind UIs that actually look good!
.jpg)
The flex-auto class makes an element fully grow and shrink as needed, while occupying all available space.
The flex-auto class makes an element fully grow and shrink as needed, while occupying all available space.
<div class="flex p-10 bg-gray-100 space-x-5"> <div class="flex-auto bg-blue-400 p-4 text-center text-white font-bold rounded">Flexible Item</div> <div class="bg-gray-400 p-4 text-center text-white font-bold rounded">Fixed Item</div></div>Add the flex-auto class directly to your HTML element:
<div class="flex-auto"> <!-- Your content here --></div>Use Tailwind's responsive prefixes to apply flex-auto at specific breakpoints:
<div class="sm:flex-auto md:flex-auto lg:flex-auto"> Responsive element</div>sm:flex-auto — applies from 640px and upmd:flex-auto — applies from 768px and uplg:flex-auto — 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
