MENU

Fun & Interesting

Theming Tailwind with CSS Variables

Tailwind Labs 134,470 lượt xem 4 years ago
Video Not Working? Fix It Now

In this video, you'll learn how to build designs that support multiple themes in Tailwind CSS, leveraging the power of CSS variables. We also look at a common "gotcha" you might run into when trying to use color opacity utilities alongside colors defined as variables.

Source code: https://play.tailwindcss.com/YelhilBeHb

Comment