Check out our free templates made with AI and polished to perfection in Windframe
Get nowmy-2: Tailwind CSS Margin class
The my-2 class adds a margin of 0.5rem (8px) to the top and bottom sides of an element.
my-2 (Vertical Margin 2)
The my-2 class adds a margin of 0.5rem (8px) to the top and bottom sides of an element.
Example Usage
html
<div class="my-2 bg-purple-500 text-white"> margin</div>
Preview
My-2
Windframe is an AI visual editor for rapidly building stunning web UIs & websites
Start building stunning web UIs & websites!
