is now part of Shuffle™. You can use the editor on this domain, but we encourage you to try Shuffle →. Shuffle™ includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
← Tailwind CSS classes list

Tailwind CSS class: .focus-within

    <form>
        <div class="text-gray-400 focus-within:text-green-600 focus-within:underline">
            Enter your name:
            <input class="ml-2 px-4 py-2 border rounded" type="text" placeholder="Name">
        </div>
    </form>

Preview

Enter your name:

More in Tailwind CSS Forms