Utilice tailwind

Please log in to post a comment
Log in with GitHubCommunity feedback
- @brodel10
Great job Gino, not much to point out here, although there are a couple of repeated tailwind classes that could probably be consolidated to make your code a little smaller and easier to track and you'd only have to change one thing instead of doing it to each card. I see that
grid gap-x-8 gap-y-12 sm:grid-cols-1 sm:gap-y-6
is used for each card container. I would probably create a class in your stylesheet that looks something like this:section { @apply rounded-xl p-8 bg-lightGray shadow-lg; }
.card { @apply grid gap-x-8 gap-y-12 sm:grid-cols-1 sm:gap-y-6; }
Hope this helps!
Marked as helpful
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