my-0: Tailwind CSS Margin class

The my-0 class removes any top and bottom margin from an element.


my-0 (Vertical Margin 0)

The my-0 class removes any top and bottom margin from an element.

Example Code

html
<div class="rounded-t-md bg-gray-100 flex items-center justify-center p-5">
<div class="bg-teal-300 w-20 h-10 rounded">
<div class="my-0 bg-teal-500 text-white font-bold text-center">
My-0
</div>
</div>
</div>

Preview

My-0

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