my-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 a drag and drop builder for rapidly building tailwind css websites and UIs

Start building stunning tailwind UIs! 

Build from scratch or select prebuilt tailwind templates