m-12: Tailwind CSS Margin class

The my-2 class adds a margin of 0.5rem (8px) to the top and bottom sides of an element.


m-12 (Margin 12)

The m-12 class applies a uniform margin of 3rem (48px) to all sides of an element.

Example Code

html
<div class="rounded-t-md bg-gray-100 flex items-center justify-center p-5">
<div class="bg-orange-300 w-40 h-32 rounded">
<div class="m-12 bg-orange-500 text-white font-bold text-center rounded">
M-12
</div>
</div>
</div>

Preview

M-12

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