Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 4 years ago

So much clamp()... so... much... clamp().

cypress
P
Daniel•140
@obriedan
A solution to the Equalizer landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I strugged making this fully responsive, though I think I've gotten it about 85-90% of the way there. I started mobile first, but even so, because of the non linear changes in margins and gaps between mobile / tablet / desktop I ended up having to use a tonne of breakpoints and so many clamp()s

If you check in responsive mode with dev tools, the site should be fluid and look okay in every viewport width. But I'd really like to figure out a way to make it fluid without so many breakpoints.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Daniel's solution.

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

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

Frontend Mentor

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

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