QR Code Component using HTML CSS

Please log in to post a comment
Log in with GitHubCommunity feedback
- @hitmorecode
Congratulations well done. Just one small thing you can fix. When changing to small screen size the card is net centered. You can fix this by removing
width: 100vw;
Also for good practice is best to use
min-height: 100vh;
and notheight: 100vh;
body { background-color: var(--light-gray); display: flex; justify-content: center; align-items: center; /* width: 100vw; */ min-height: 100vh; }
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