← Tailwind CSS classes list

Tailwind CSS class: .border-2

<div class="border-2 border-teal-600 bg-teal-400 p-8 inline-block"></div>

Preview

Check .border-2 in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

CSS source

.border-2 { border-width: 2px; }

More in Tailwind CSS Borders