Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

QR Code Layout using Flexbox

@centralparkshark

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@ARiYaNSEp0-0

Posted

there is no need for explicit width on card img you should use a modern css reset which have img {max-width: 100%; display: block} and that solves the img issue. I know you add the img first and then img didn't respect parent width and get overflowed and you decide explicit width on img tag but the problem is on this reset when you set img max-width property to 100% you have a img which doesn't overflow the parent width if you want more information on this please read : https://stackoverflow.com/questions/38820710/img-max-width-with-percentage-how-does-it-work

Marked as helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

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