Design comparison
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!
Community feedback
- @Giulo25Posted almost 3 years ago
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
2@SamehCodePosted almost 3 years ago@Giulo25 it seems ur world class programmer . i hope i be like you once.
0@Joshua-FarrPosted almost 3 years ago@Giulo25 thanks for the feedback - I know how to do it with flex box- wanted to try my hand at doing it with grid (i know not as efficient!).
0
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