← Tailwind CSS classes list

Tailwind CSS class: .focus

<input class="bg-gray-200 border-2 border-teal-400 focus:border-teal-600 py-2 px-4" placeholder="Focus"/>

Preview

More in Tailwind CSS Pseudo class