Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 2 years ago

Responsive layout for the single price grid challenge using SASS

sass/scss
Alexandre Covolan•310
@covolan
A solution to the Single price grid component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hi Frontend Mentor community! 👋

This is my take on the single price grid challenge!

Overall a very simple webpage to develop and learn the grid layout on CSS. My solution ended up being quite robust 😅. Any tips on redundancy code or how to improve into styling this kind of pages?

One thing that I was unsure about was the height of the page, on the body I used 100svh and had to change to 100% into the media query to properly fit the screen, any tips regarding why that happened?

body {
  height: 100svh;
}

@media screen and (max-width: 620px) {
  body {
    height: 100%;
  }
}

Thanks in advance for any tips and help with the code! 😄

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 Alexandre Covolan'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