w-0.5: Tailwind CSS Width class

The w-0.5 class sets the element width to 0.125rem.


w-0.5

The w-0.5 class sets the element's width to 0.125rem.

Example Code

html
<div class="flex justify-center items-center gap-2 p-3 rounded-t-md bg-indigo-50">
<div class="w-0.5 bg-indigo-500 py-4 text-white font-bold rounded-lg px-4">
</div>
</div>

Preview

Windframe is an AI visual editor for rapidly building stunning web UIs & websites

Start building stunning web UIs & websites!

Build from scratch or select prebuilt tailwind templates