Design comparison
Solution retrospective
Hello! It's nice to come back here after a few years. Time to refresh some knowledge! No specific questions, but feedback or a criticism will be appreciated!
Community feedback
- P@danielmrz-devPosted 11 months ago
Hello @tediko!
Your solution looks awesome!
š Instead of using
margin-bottom
on each<li>
, you can setdisplay: grid
andgap
property on the<ul>
. Withgap
, you create an equally sized space between all the elements inside the parent container, so you don't need to add the margin to each child element.I hope it helps!
Marked as helpful2P@tedikoPosted 11 months agoHi @danielmrz-dev!
Indeed, using
gap
together withdisplay: flex
orgrid
will be more convenient than using a separate selector. Thanks for your feedback!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