Design comparison
Solution retrospective
Hello everyone! 👋 This is my solution for Stats Preview Card.
Any feedbacks would be really appreciated. It helps me to improve or remove unnecessary code in my task.
Thank you 😁✌
Community feedback
- @AkoToSiJeromeEhPosted over 1 year ago
Hi! Great Work Out There , I noticed that you're using flexbox on the ul element. In my experience, I would recommend using grid box with grid-template-columns: 3 1fr to better align it with the design reference also u can use vertical-align : middle on image instead d-block but either works the same as i notice. overall I hope this suggestion helps and works for you. thanks happy coding :)
ul {
display: grid;
grid-template-columns: repeat(3,1fr);
margin-top: 3rem;
list-style-type: none;
}
Marked as helpful0@powrezePosted over 1 year agoHi ! @AkoToSiJeromeEh Oh yeah, I've struggled with that too. I can't set the ul element to looks exactly like the design. I would love to try your recommendation. Anyway, Thank you 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