QR code component using html and css

Solution retrospective
How could this be better? How can I make this responsive with pure html and css?
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@danielmrz-dev
Hello Hana!
Your project looks great!
I noticed that you used
position
withtop
andleft
properties to center your card. But in mobile version, this is kinda squeezing your card a little bit.I have a suggestion for you to center your card, so you can try and tell me if it works well for you:
body { height: 100vh; display: flex; justify-content: center; align-items: center; }
I hope it helps!
Marked as helpful
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