Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
5
Comments
1
Guo Xusheng
@mvpsheng

All comments

  • AbalJerind•400
    @Abaljerind
    Submitted about 2 years ago

    QR code component using Bootstrap

    #bootstrap
    2
    Guo Xusheng•90
    @mvpsheng
    Posted about 2 years ago

    hello, I just came across the same problem, and my solution is to give your component a parent tag, and make the parent tag to be a flex layout. And then you can put your component center both horizontally and vertically.

    If you don't know flex layout, check out the MDN, and learn about that. I hope this helps. Hope you doing well!

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