Testimonials section with css grid

Solution retrospective
This challenge helped me practice CSS grid. I also used pseudo classes and variables in css.
What specific areas of your project would you like help with?I would like to know if I was right using pseudo-classes or if another way would be better.
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@rafaeldgeo
hi @Ataize! Congratulation! Your challenge is great!
Pseudo-classes was a good solution, but It's more complex! You could using a principal class and other modification class.
Exampla:
.card { font-size: ... font-family: ... .... }
.card--one { background-color: red; color: white; }
.card--two { background-color: blue; color: yellow; }
<div class="card card--one"></div> <div class="card card--two"></div>There's a metodology that can help you. https://getbem.com/
Good luck on your journey! Let's practice!
Marked as helpful
Join 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