mt-3: Tailwind CSS Margin class

The mt-3 class adds a top margin of 0.75rem (12px) to an element.


mt-3 (Margin Top 3)

The mt-3 class adds a top margin of 0.75rem (12px) to an element.

Example Code

html
<div class="rounded-t-md bg-gray-100 flex items-center justify-center p-5">
<div class="bg-red-300 w-20 h-10 rounded">
<div class="mt-3 bg-red-500 text-white font-bold text-center">
Mt-3
</div>
</div>
</div>

Preview

Mt-3

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