border-x: Tailwind CSS Border Width class
The border-x class applies a default-width border to both horizontal sides (left and right).
Border-x
The border-x class applies a default-width border to both horizontal sides (left and right).
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 Horizontal Borders</p> <div class="border-x bg-gray-300 border-indigo-500 p-4 w-40 text-gray-700 font-semibold"> Border-x</div></div>
Preview
Default Horizontal Borders
Border-x
Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs
Start building stunning tailwind UIs!
