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

CSS Flexbox

@AlexxLuis

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

h-octocat 10

@h-octocat

Posted

You are off to the right start, but you need a few small changes. I would start by properly centering the card. I did this by:

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

.card { margin: 0; position: absolute; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); }. Hope this helps!

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