w-28: Tailwind CSS Width class

The w-28 class sets the element width to 7rem.


w-28

The w-28 class sets the element's width to 7rem.

Example Code

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

Preview

w-28

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