QR code card using html and CSS

Solution retrospective
I had some difficulties in making the main div tag to move to the center of my page. so I had to use padding all round, so that it appears at the center of the page. how can I solve this difficulty of mine ?
also, I had difficulties in giving my image an automatic width so as to avoid giving it a specific width.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Asongafac's solution.
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