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

@gabrielfranos

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

@77iu

Posted

Hello, I'm Miguel

So that main or any other element is centered, I suggest the following:

body{ max-width:1440px; height:100vh; display:flex; align-items:center; justify-content:center; }

Tell me if this information was useful to you 😃.

If you like animated buttons I invite you to visit [https://youtube.com/@77iu-CSS?si=sbpP_EDa8PN6Zvak]

Greetings from Argentina!!👋👋👋

Marked as helpful

1

@gabrielfranos

Posted

@77iu Hello Miguel!

Thanks for the help with the centering of the elements! I remade it using the display:flex and align-items properties and its better now!

I'm still learning about media queries so the next step is to make it responsive and create the mobile view correctly!

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