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

Testimonial Grid Site Using Grids and Flexboxes

@elameendaiyabu

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


Need help on how to put that quotation pattern svg in the background of the first element. Thanks

Community feedback

@i-amWin

Posted

Set the position: relative; and isolation: isolate; on first card and add that quotation mark on the pseudo element as shown in code below:

.card:nth-of-type(1) {
      grid-area: card-1;
      background-color: hsl(var(--moderate-violet));
      isolation: isolate;
      position: relative;
}

.card:nth-of-type(1)::before {
      content: url("./images/bg-pattern-quotation.svg");

      position: absolute;
      top: 0;
      right: 8%; /* Adjust this according to your preferences. */
      z-index: -1;
}

Marked as helpful

1

@elameendaiyabu

Posted

@i-amWin Thanks for the feedback. I just tried to do it but didnt work. i will look into it and fix it.

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