QR Component Solution.

Solution retrospective
Hey guys I have just shared my solutions.. Kindly comment on best solutions and how I can improve
Please log in to post a comment
Log in with GitHubCommunity feedback
- @correlucas
👾Hello Vongai O Machingura, congratulations for your new solution!
To keep the container in its correct size use
max-width: 320px;
instead ofwidth: 50%;
and you'll note the difference:main { background-color: var(--clr-white); /* width: 50%; */ max-width: 320px; align-items: center; border-radius: 10px; text-align: center; padding: 15px; /* height: 50%; */ }
👋 I hope this helps you and happy coding!
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