Design comparison
Solution retrospective
My solution on stats preview card component :) Waiting ur opinions
Community feedback
- @MadmandenPosted almost 3 years ago
Hi Luka, it's looking good. It's not centered though it seems.
Marked as helpful1@lukakavtarraPosted almost 3 years ago@Madmanden Yeah i am working on that rn tho it shows me its centered on my computer :( so if anyone knows how to center better i would love to take some advice :)
0@MadmandenPosted almost 3 years ago@lukakavtarra I'm on my phone right now so I can't check out your code, but normally you'd center something by setting its margin to "0 auto" (0 is top and bottom, auto is each side, which will center it in the parent container).
Marked as helpful1@lukakavtarraPosted almost 3 years ago@Madmanden Thank u so much . it really helped and i changed my solution and it looks better :))
1 - @Sam-GulikerPosted almost 3 years ago
Hi Luka,
Nice solution you got there, have you checked the span css? It seems a bit off, check the size and the padding :)
Happy coding
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