Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Mobile-first approach on a Testimonials Grid Section

@Rui-Martins23

Desktop design screenshot for the Testimonials grid section coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Proud of successfully using CSS Grid once again as a tool in the mobile-first approach. It definitely helps to render the final outcome on all screen sizes correctly.

What challenges did you encounter, and how did you overcome them?

The main challenge was to place the quote mark image correctly. In the end I was able to place the image on the right top, but couldn't make it appear without having influence on the text color.

What specific areas of your project would you like help with?

Placing the quote mark image behind the text. I tried to use the z-index property... but i didn't achieve the result wanted. Any suggestions on how to approach this? Many thanks.

Community feedback

xlraullx 60

@xlraullx

Posted

hello, I did that quote image on css, it was like this:

.daniel-testimonial{
   position: relative;
   z-index: 0;
}

.daniel-testimonial::after{
    content: URL(./img/quote-image);
    position: absolute;
    z-index: -1;
    top: 0;
    right: 80px;
}

I used position relative and absolute to the quote image stays only in the daniel-testimonial whatever the resolution, it will always be there, then I put z-index to undercover the text. hope I help you

Marked as helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

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