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

@wetas2020

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@AkoToSiJeromeEh

Posted

Hi! Great work out there! I just wanted to share how you can achieve an image color overlay (as the original design contain) using mix-blend-mode: multiply or background-blend-mode: multiply. Since you are not using the image as background i recommend to use the mix-blend-mode:multiply and add a background color on the left container , (the bold text is code i modify in your source code) hope this suggestion helps and works . happy coding

.left-content { flex: 1; background-color: hsl(276.9, 63.8%, 61%); add this }

.stats-image { display: block; width: 100%; height: 100%; mix-blend-mode: multiply; add this opacity: 0.7; you can adjust this }

Marked as helpful

1

@wetas2020

Posted

@AkoToSiJeromeEh thanks a lot for your guidance, I will modify the code as you mention, really appreciate 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