Design comparison
Solution retrospective
I found it hard to change the width of the reviews with stars and couldn't make it a cascading one like in the design. The same with reviews, I think I'm on the right track but didn't know how to make them the same as in the design. It kept breaking. Any ideas on how to fix that? Thank you
Community feedback
- @dagimchiPosted almost 2 years ago
Hello. I just completed this challenge. To change the width you can just add padding-right & left to your list element with a class of
.stars-review
. To make it cascade I used thetransform: translateX(value);
property on the the second and third review with stars row.You can do the same for your verified buyer boxes but use
transform: translateY(value);
instead because you'll want to cascade in the Y-axis direction.https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate
Here's my repo if you want to take a look:
https://github.com/dagimchi/Social-proof-section
Great job on completing it though, this one took some time for me.
Marked as helpful0
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