Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
2
Comments
1
Daniel Hernández
@danthvp

All comments

  • Lucas da Silva•10
    @LucaLSN
    Submitted about 2 years ago

    QR Code static card using responsiveness and flexbox

    #cube-css
    1
    Daniel Hernández•20
    @danthvp
    Posted about 2 years ago

    Hello Lucas! Your code is well indented and is super readable. Don't worry about how to center a div, there's no specific way to do it. As you did it, I usually use flexbox to center the boxes. A little piece of advice that I can give you is to use box-sizing: border-box. Also, it's no necessary to set the margin and padding to 0 when you're using media queries. Media queries only change the rules you give. And try to use the HTML5 tags instead of using div, that is going to help with the SEO.

    Keep coding!!! You have a great potential.

    Greetings from CR

Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub