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

responsive landing page using CSS

olalois• 20

@olalois

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


centering the div

Community feedback

@Bishalsnghd07

Posted

Hi @olalois

Congrats for completing this challenge🎉

  • Your Question regarding centering the div For that, you have to follow best practice instead of using absolute, you can simply apply this:

    display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh;

Hope, this suggestion will help you to centering the div

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