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 Component using Sass

ChristianM 110

@DevXtianM

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

P
Micha Huhn 220

@MichaHuhn

Posted

Good work!

If you want to improve the responsive design, there is a nice technique:

  1. Images become responsive by adding: max-width: 100%; With this CSS declaration, width and height can be omitted. Now the image will scale automatically.

  2. Currently, width: 320px; is applied to the card. By changing it to max-width: 320px;, the card will automatically shrink on small screen sizes to prevent overflow.

I hope that's a bit useful.

Marked as helpful

0

ChristianM 110

@DevXtianM

Posted

@MichaHuhn, Thanks! I already modified my code based on your feedback.

0
P
Micha Huhn 220

@MichaHuhn

Posted

@DevXtianM Fantastic

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