QR-code-component (HTML, CSS)

Please log in to post a comment
Log in with GitHubCommunity feedback
- @eaakre
To make it a little more responsive for mobile, take out the width from your body element in your CSS file:
body { width: 144rem; }
Then, your QR code will stay in the center no matter what screen width you have. Right now, if you look at mobile you would have to scroll out of the screen to the right.
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