Question · Angular course · Module 13: UI and Styling
The dark variant in Tailwind
What does the dark: prefix do in a Tailwind class, e.g., dark:bg-dojo-dark?
Answer options
- Applies the background only in dark mode
- Darkens every background by 50%
- Disables the background on mobile devices
- Sets the background only on hover
You can check the correct answer by solving this task in the CodeWorlds game.