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.
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
This is the first time I used :nth-child()
. I totally see the benefit of using it in this excercise.
article:nth-child(1) .social-avatar {
border: 3px solid var(--clr-accent-200);
}
Learn more grid. Learn about using utility-classes as that seems a thing now.
- Learn CSS Grid The Easy Way - Kevin Powell - I watched his tutorial before I got started, to understand better how grid works and how to work with grid-template-areas. I also took some inspiration in how he sets up his css-file. Though I also thought it was important to keep writing code the way I do now, before going totally in this idea of 'utilities' and 'variables'.
- Modern Container - Kevin Powell - Another Kevin Powell-resource. This for setting up the
.container
.
- Frontend Mentor - @graficdoctor
- Twitter - @graficdoctor