Design comparison
SolutionDesign
Solution retrospective
Feedback is welcomed. More specifically I want to know about different ways of positioning the qr code card.
Community feedback
- @correlucasPosted over 2 years ago
Hello Mukul! Congratulations for your solution!
Aswering your question you can also center the card using GRID
body { min-height: 100vh; display: grid; align-items: center; }
To center an element horizontally you can also use the property
margin: 0 auto;
inside the container.I hope it helps you!
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