Windframe
Build Tailwind UIs that actually look good!
.jpg)
The my-2 class adds a margin of 0.5rem (8px) to the top and bottom sides of an element.
The flex-none class prevents an element from growing or shrinking, keeping it at its intrinsic size.
<div class="flex items-center justify-center"> <div class="flex-none bg-red-500 p-4 text-white font-bold rounded">flex-none</div></div>Add the flex-none class directly to your HTML element:
<div class="flex-none"> <!-- Your content here --></div>Use Tailwind's responsive prefixes to apply flex-none at specific breakpoints:
<div class="sm:flex-none md:flex-none lg:flex-none"> Responsive element</div>sm:flex-none — applies from 640px and upmd:flex-none — applies from 768px and uplg:flex-none — 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
