border-x-4

The border-x-4 class belongs to the border width group within the borders category.

Example Usage

Here is an example of how to use border-x-4:

<div class='h-12 w-12 bg-gray-100 border-x-4 border-solid border-white  '></div>

Resulting CSS

border-left-width: 4px;
border-right-width: 4px;

Other Border width Classes

Get Tailwind Scanner!

The absolute must-have tool for anyone using Tailwind CSS.

Scan, Edit, Export any tailwind site in browser to create the perfect UI - download the chrome extension!