Design comparison
SolutionDesign
Community feedback
- @VictorMMartinezJrPosted over 1 year ago
Hello! One easy way to center the item in the middle of the screen is to set the parent element of the QR (which in this case would be the body) to : body { height: 100vh; display: grid; place-items: center }
the height gives it the room of the full screen to work with.
0@JoelJPerezPosted over 1 year ago@VictorMtzCode Thank you for your help, I will try what you mentioned.
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