QR Code Component

Solution retrospective
Hm, I wonder why my "margin:auto: nor display flex with align-items & justify-content centers didn't work , had to manually use margin-tops to center them..
Flex method only centered the content themselves, even though I targeted the container itself.
Margin:auto, only had targeted left & right, but didn't work for top & bottom. Any ideas?
Thanks!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on tomatas95'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