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 ( Mobile Version )

Leon 20

@Codelon2

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I found it difficult to understand how to make the sizes of the background and the white box ( which contains img,h2 and the p) be automated to suite every mobile phone.

Community feedback

zoleee98 250

@zoleee98

Posted

Apply these css rules to your container that contains the card:

  • width: 100%;
  • height: 100%;
  • display: flex;
  • justify-content: center;
  • align-items: center:

Also make sure that your body and html tag have height and min-height: 100%;

Marked as helpful

0

Leon 20

@Codelon2

Posted

@zoleee98 Thank you! I will try that out :)

1

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