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 (HTML, CSS)

onyil44 50

@onyil44

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

Erik Aakre 230

@eaakre

Posted

To make it a little more responsive for mobile, take out the width from your body element in your CSS file:

body { width: 144rem; }

Then, your QR code will stay in the center no matter what screen width you have. Right now, if you look at mobile you would have to scroll out of the screen to the right.

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