border-y: Tailwind CSS Border Width class

The border-y class applies a default-width border to both vertical sides (top and bottom).


Border-y

The border-y class applies a default-width border to both vertical sides (top and bottom).

Example Code

html
<div class="flex flex-col justify-center items-center gap-2 p-3 rounded-t-md bg-gray-50">
<p class="text-gray-600 font-bold"> Default Vertical Borders</p>
<div class="border-y bg-gray-300 border-indigo-500 p-4 w-40 text-gray-700 font-semibold">
Border-y
</div>
</div>

Preview

Default Vertical Borders

Border-y

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