CSS Grid Only - NFT Preview Card Component

Solution retrospective
CSS Grid Experts, I need your help!
The only thing that tricked me was justifying the time remaining to the right. For some reason when I moved it over, there was extra space in the container and it would leave an unsightly gap between the text and the clock icon. Any insights would be greatly appreciated!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Giulo25
Hi Josh, you can set the two grid items (info1 and info2) as flexbox, then set info1 justify-content: start and info2 justify-content: end and you can manage the space between the icon and text with the gap property
- @SamehCode
nice work, josh. i really appreciate your hard work iam just a newbie. wish me good luck , bro
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