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

HTML, CSS

@AlbanDavid494

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


well, when trying to align the items center at first, I found fit difficult but I took my time to restructure my html code and I learnt new things.

Community feedback

nanishipi 40

@nanishipi

Posted

To center the whole card both vertically and horizontally, you can contain all of the elements inside of a div and add to the css ---> position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); This piece of code should center your container. Hope it helps!

1

@AlbanDavid494

Posted

Thanks alot @nanishipi

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