Product preview card component (Tailwind CSS, messy md?)

Solution retrospective
Doesn't look as bad as I thought:)
What challenges did you encounter, and how did you overcome them?I don't know enough about CSS and Tailwind.
The mobile version was ok, but then I struggled with desktop version. I had a hard time to get equal column width (with flexbox). In the end I used basis-1/2 and added a parent div for and the main content.
What specific areas of your project would you like help with?I added md: with margin and padding here and there... But it doesn't feel that great...
If someone with experience in Tailwind and CSS could give me some directions, I would be forever grateful ;)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on keltiek's solution.
Join 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