Submitted over 2 years ago
Mobile first grid component (Grid with a little bit of Flexbox, SASS)
@Ivuska
Design comparison
SolutionDesign
Solution retrospective
Hello everyone!
I tried to solve the challenge using CSS Grid (with a little bit of Flexbox in one cell).
It is my first attempt/'project' with CSS Grid so:
- I would be really grateful for any feedback.
- any tips how to solve this challenge ONLY with CSS Grid (if it is possible and/or more suitable for this issue)?
Thanks a lot and nice days to all!
Community feedback
- @grace-snowPosted over 2 years ago
Hi, well done on this. The border radius looks bigger than the design, the per month font color needs changing and overall I think it's a bit of a shame you've used flexbox for this when it's so clearly suited for css grid practice... But overall it is good!
To nest media queries in scss you can do this (you're nearly there!)
.container { max-width: toRem(375); width: 100%; border-radius: $radius; overflow: hidden; flex-direction: column; @media only screen and (min-width: $desktopLayout) { max-width: toRem(900); } }
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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