Submitted over 1 year ago
Responsive social proof section using CSS grid and flexbox
@kennylun123
Design comparison
SolutionDesign
Solution retrospective
Hi everyone, this is my solution of "social proof section".
In this challenge I learned,
- Reinforced learning on grid items' positioning
.ratings > div:nth-of-type(1) {
align-self: start;
}
.ratings > div:nth-of-type(2) {
align-self: center;
}
.ratings > div:nth-of-type(3) {
align-self: end;
}
.testimonial > article:nth-of-type(1) {
margin-block: 0 2rem;
}
.testimonial > article:nth-of-type(2) {
margin-block: 1rem;
}
.testimonial > article:nth-of-type(3) {
margin-block: 2rem 0;
}
Any feedback would be appreciated. Thanks for your attention.
Community feedback
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