border-opacity-40

The border-opacity-40 class belongs to the border color group within the borders category.

Example Usage

Here is an example of how to use border-opacity-40:

<div class='h-12 w-12 bg-gray-100 border-2 border-solid border-opacity-40  '></div>

Resulting CSS

--tw-border-opacity: 0.4;

Other Border color 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!