
Please log in to post a comment
Log in with GitHubCommunity feedback
- @knznsmn
Cool Solution
Cool! Code is simple and straight to the point. I think the QR code should be centered on Y-axis too, though I am not sure about that. I so thought because the design shows a centered QR code. Now I can't remember if I also centered it in my code...
If I want an element to be centeredc I usually use flexbox.
div { display: flex; justify-content: center; align-items: center; }
Assuming the width and height occupies the whole viewport.
Join 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