Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
14
Comments
3
Yeni
@YeniUvwo

All comments

  • Caleb Arodu•110
    @Callyx2002
    Submitted over 1 year ago

    Awesome QR code component using Css Flexbox

    1
    Yeni•180
    @YeniUvwo
    Posted over 1 year ago

    Well done on your first project!

    Kindly note that whenever you want to set a width, it is advisable to set a width in % alongside a max-width in px.

    Also, avoid setting heights. Instead use padding.

    For your fonts, use rems. For your paddings and margins, use ems.

    Hope this helps.

    Ps. You can check out Kevin Powell’s course on conquering responsiveness.

  • MisterCcobD•120
    @MisterCcobD
    Submitted over 1 year ago

    nft-preview-card

    1
    Yeni•180
    @YeniUvwo
    Posted over 1 year ago

    To get the slim rectangular shape in mobile, don’t just set a width of 90%, you need to add a max-width in px on your .component and on your image.

    Kindly note that it is advisable to always start your designs with mobile first.

    To adjust your design, try reducing your % and set a max-width for the bigger screen. Hope this helps.

    Marked as helpful
  • Harold•60
    @harolddatus
    Submitted over 1 year ago

    Frontend Mentor QR-Code-Component

    5
    Yeni•180
    @YeniUvwo
    Posted over 1 year ago

    On your qr-card__image, instead of max-width 100%. Do a width of 100% and a max-width of your preferred width in px.

    Just note that if you have to set a width, it is advisable you set a width in % and a max-width in px. This will prevent that styled element from expanding past a certain width on larger screens.

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

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

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