ml-2.5: Tailwind CSS Margin class

The ml-2.5 class adds a left margin of 0.625rem (10px) to an element.


ml-2.5 (Margin Left 2.5)

The ml-2.5 class adds a left margin of 0.625rem (10px) to an element.

Example Code

html
<div class="rounded-t-md bg-gray-100 flex items-center justify-center p-5">
<div class="bg-green-300 w-20 h-10 rounded">
<div class="ml-2.5 bg-green-500 text-white font-bold text-center">
Ml-2.5
</div>
</div>
</div>

Preview

Ml-2.5

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