Windframe
Build Tailwind UIs that actually look good!
.jpg)
The mx-1 class applies a horizontal margin of 0.25rem (4px) on both the left and right sides.
The mx-1 class applies a horizontal margin of 0.25rem (4px) on both the left and right sides.
<div class="rounded-t-md bg-gray-100 flex items-center justify-center p-5"> <div class="bg-indigo-300 w-20 h-10 rounded"> <div class="mx-1 bg-indigo-500 text-white font-bold text-center"> Mx-1</div> </div></div>Mx-1
Add the mx-1 class directly to your HTML element:
<div class="mx-1"> <!-- Your content here --></div>Use Tailwind's responsive prefixes to apply mx-1 at specific breakpoints:
<div class="sm:mx-1 md:mx-1 lg:mx-1"> Responsive element</div>sm:mx-1 — applies from 640px and upmd:mx-1 — applies from 768px and uplg:mx-1 — 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
