mb-4: Tailwind CSS Margin class

The mb-4 class adds a bottom margin of 1rem (16px) to an element.


mb-4 (Margin Bottom 4)

The mb-4 class adds a bottom margin of 1rem (16px) to an element.

Example Code

html
<div class="rounded-t-md bg-gray-100 flex items-center justify-center p-5">
<div class="bg-blue-300 w-20 h-10 rounded">
<div class="mb-4 bg-blue-500 text-white font-bold text-center">
Mb-4
</div>
</div>
</div>

Preview

Mb-4

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