Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
6
Comments
1
JuanCFS
@juancfs

All comments

  • david•120
    @davidtrikic
    Submitted over 4 years ago

    My first project! HTML & CSS (Flexbox)

    2
    JuanCFS•160
    @juancfs
    Posted over 4 years ago

    Hi David. In regards to the background image matching the desktop and mobile devices, try changing the units for the body background-position property from pixels to the viewport (vw and vh) units. This way the background should adapt with respect to the browser's viewport and the problem should be fixed.

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