
Responsive 3 column card component using Tailwind
Design comparison
Community feedback
- @YacoubDweikPosted about 1 month ago
Good job!
I'd just recommend defining your colors inside @theme to use them in tailwind classes instead of doing this: bg-[hsl(31,77%,52%)] every time you want to use them.
Like this:
@theme { --color-mint-500: rgb(72, 11, 178); }
Keep it up!
0@Yaciine19Posted about 1 month ago@YacoubDweik Thank you for your feedback! You're absolutely right. defining colors inside @theme makes the code cleaner and more maintainable.
However, since I'm using Tailwind via CDN only, I don't have access to @theme or a tailwind.config.js file for customization. Instead, I intentionally keep things simple in these newbie-level challenges, focusing more on writing clean HTML & Tailwind classes rather than setting up a full development environment.
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord