Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026
The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.
Modifiers allow you to only apply some specific Tailwind class if another condition happens.
One is hover: to apply a class only if you’re hovering the element with the mouse.
For example: hover:underline
The dark: modifier is super useful with applying dark mode.
You set any “base” class, for example bg-white, and then say dark:bg-black to “override” the first one in dark mode.
Modifiers are also super useful with responsive design, as you’ll see in the next lesson.