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
- Solution URL: https://github.com/cenkderman/Testimonials-grid-section
- Live Site URL: https://cenkderman.github.io/Testimonials-grid-section/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
Desktop grid
.card-wraper {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-areas: "daniel daniel jonathan kira"
"jeanette patrick patrick kira";
gap: 2rem;
max-width: 70rem;
font-family: var(--ff);
}Mobile grid
@media screen and (max-width:428px) {
.card-wraper {
grid-template-columns: 1fr;
grid-template-areas: "daniel"
"jonathan"
"jeanette"
"patrick"
"kira";
gap: 1.25rem;
max-width: 23rem;
margin: 1.25rem;
}
}