m-8: Tailwind CSS Margin class

The m-8 class applies a uniform margin of 2rem (32px) to all sides of an element.


m-8 (Margin 8)

The m-8 class applies a uniform margin of 2rem (32px) 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-pink-300 w-40 h-28 rounded">
<div class="m-8 bg-pink-500 text-white font-bold text-center rounded">
M-8
</div>
</div>
</div>

Preview

M-8

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