Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

Absolutely positioned QR component. No flexbox or grid

Grzegorz•130
@GregW1994
A solution to the QR code component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hey guys, this is my first frontend mentor project. I'm pretty satisfied with the results, although I have a few questions about my approach and typography.

  1. <h1> element text looked too sharp, so I set 'opacity' property to 90% to make it look more blurry. What do you think about this approach? What other technique would you recommend?
  2. Due to using absolute position on 2 elements in the same container, those elements started overlapping with each other after viewport height decreased to about 660px. I fixed it with media query, but now it doesn't have that smooth transition while resizing the window (footer suddenly jumps below the viewport when reaching @media (max-height)). Was it a bad idea to use position absolute? If so, what approach would you recommend?

  3. Did i make any stupid mistakes, or unnecessary code-repetition?

I'll be grateful for any feedback

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 Grzegorz'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