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

Stats preview card component Using Flexbox

Daniel 20

@DanielMillanR

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


how did you place the color on the background?

Community feedback

Frank Ruiz 410

@fruizotero

Posted

You can achieve this through the "mix-blend-mode:multiply" property that you apply to your image inside the picture. Remove the opacity from the next class;

.card_header_pictures {    
  border-radius: 15px 15px 0px 0px 0px;  
  background-colour: hsl(277, 100%, 67%);
  opacity: 0.5; 
}


.card_header_picture { 
width: 100%;
height: 100%;
border-radius: 15px 15px 0px 0px 0px;
opacity: 0.7;
mix-blend-mode: multiply;
}

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