Social proof section using Sass, CSS grid & flexbox layout
Design comparison
Solution retrospective
I coded desktop first, using grid layout for desktop, flex-box for mobile.
I had a difficulty setting the height for the Mobile version(body tag, #main, #main-content-wrapper), which made me very confused.
Any advice & feedback would be appreciated :)
Community feedback
- @brasspetalsPosted about 4 years ago
Hi, Natsuki! Congrats on completing another challenge!
I wanted to let you know there's a much easier way of handling the background images. You can actually set multiple background images, which is very handy. For this challenge, I would suggest putting both in the
body
like this:background-image: url("./images/bg-pattern-top-desktop.svg"), url("./images/bg-pattern-bottom-desktop.svg"); background-position: top left, bottom right; background-repeat: no-repeat, no-repeat;
This way you also don't need to set a specific height value on your containers in order to get the bottom image where you want it. Hope this helps!
1@NafsukiPosted about 4 years ago@brasspetals Thank you very much for your feedback! It helps me a lot! I'll work on this challenge again with your solution! :)
0 - @ApplePieGiraffePosted about 4 years ago
Hey, Natsuki! 👋
You've done a good job on this challenge! Your solution actually responds quite well (something people sometimes have trouble with in this challenge)! 😊
I like your decision to use CSS grid to layout the boxes with the SVG stars. 😉
Keep coding (and happy coding, too)! 😁
0@NafsukiPosted almost 4 years ago@ApplePieGiraffe Thank you very much for your kind & constructive feedback!! It motivates me a lot:)) Looking forward to the next challenge!!
0
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