Frontend Mentor - Testimonials grid section solution
This is a solution to the Testimonials grid section challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Table of contents
Overview
The challenge
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
Screenshot
Links
My process
Built with
- Semantic HTML5 markup
- Modular Sass
What I learned
I learned the use of mixins for modifiers.
@mixin card-colors($background: $white, $text-color: $grayish-blue) {
background-color: $background;
color: $text-color;
p span {
color: rgba($text-color, $alpha: 0.5);
}
> p {
color: rgba($text-color, $alpha: 0.7);
}
}
Continued development
I want to improve my archive architecture.
Useful resources
- How does CSS nth-child() really work? - This short video helped me to understand quicly how :nth-child() works.
Author
- Frontend Mentor - @liltanie
- Twitter - @bramuccci