Tailwind CSS Classes

Tailwind CSS class .border-opacity-25 / border-*-#

<div class="border-opacity-0 border-4 border-teal-600 p-4"></div>
<div class="border-opacity-25 border-4 border-teal-600 p-4"></div>
<div class="border-opacity-50 border-4 border-teal-600 p-4"></div>
<div class="border-opacity-100 border-4 border-teal-600 p-4"></div>

Preview

Are you tired of writing HTML by hand?

CSS source

.border-opacity-0 { --border-opacity: 0; }
border-opacity-25 { --border-opacity: 0.25; }
border-opacity-50 { --border-opacity: 0.5; }
border-opacity-75 { --border-opacity: 0.75; }
border-opacity-100 { --border-opacity: 1; }

More Tailwind CSS classes in Borders category

© 2024 Shuffle. All rights reserved.