Design comparison
SolutionDesign
Community feedback
- @IEdiongPosted over 3 years ago
Nice one 👍
Some suggestions:
- try not to use
position: absolute;
on the.card
element. You could use
body { display: flex; align-items: center; }
to center the
.card
in the page. You could also setmargin-right: auto;
andmargin-left: auto;
on the.card
to center it horizontally- remove all default margin on the
<body>
that comes with the browser, set it tomargin: 0;
- try reducing the
border-radius
on the.card
to10px
. - also, look into the accessibility issues raised in the report above.
I hope this was helpful, Cheers 🥂
0 - try not to use
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