Check out our free templates made with AI and polished to perfection in Windframe

Get now

border-s-2: Tailwind CSS Border Width class

The border-s-2 class applies a 2px border to the start edge of the element (direction-aware).


Border-s-2

The border-s-2 class applies a 2px border to the start edge of the element (direction-aware).

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"> Start Edge Border</p>
<div class="border-s-2 bg-gray-300 border-indigo-500 p-4 w-40 text-gray-700 font-semibold">
Border-s-2
</div>
</div>

Preview

Start Edge Border

Border-s-2

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