m-0: Tailwind CSS Margin class

The m-0 class removes all margin from an element.


m-0 (Margin 0)

The m-0 class removes all 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-gray-300 w-40 h-28 rounded">
<div class="m-0 bg-gray-600 text-white font-bold text-center rounded">
M-0
</div>
</div>
</div>

Preview

M-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