Submitted about 3 years ago
3-column preview card component using flexbox and grid.
@ZainMhrez
Design comparison
SolutionDesign
Solution retrospective
This is my solution for 3-column preview card component challenge using flexbox and grid. I will be happy if you have any feedback.
Community feedback
- @FluffyKasPosted about 3 years ago
Hey,
Nice-looking solution! Perhaps you could try to center your container by applying
min-height: 100vh
,display: grid
andplace-items: center
on the body! ^^Marked as helpful0@ZainMhrezPosted about 3 years ago@FluffyKas Thanks, mate, I really appreciate it. I made the changes.
0 - @darryncodesPosted about 3 years ago
Hi Zain,
Awesome work, you've nailed it!
- you could add
transition: ease-in .3s;
to your<button>
for a smoother hover affect - you could change this
<div>
to a<main>
:<div class="container">
this will clear your accessibility report. Semantic mark up is really important.
All the best
Marked as helpful0@ZainMhrezPosted about 3 years ago@darryncodes Thanks, mate, I really appreciate it. I modified the code.
0 - you could add
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