Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted almost 2 years ago
There is no need to give the main a width value. to center .card on the page using flexbox, add min-height:100vh to the main.
To center .card on the page using flexbox: main{ min-height: 100vh; display: flex; align-items: center; justify-content: center; }
Give .btn a box-shadow with a color of hsla(245, 75%, 52%, 0.4) you can reduce the alpha value for it to match what is in the design
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
0
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