Design comparison
SolutionDesign
Solution retrospective
Can't wait to receive any feedback !!!
Community feedback
- Account deleted
Hey Philemon,
This looks good. If you want to center your container, there is a way you can do that.
Instead of position: relative with a top of 50px and a margin: 0 auto, Here is a trick:
IN CSS:
.qr-code-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
Doing this will center you container in the middle of the page. I hope that 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