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

Dammie 100

@oluwadamilola21

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


Please how do I add the color overlay on the image?

Community feedback

@akash-1712

Posted

  1. In image (div) add property=>background-image: linear-gradient(to left, rgba(170, 92, 219, 0.5), rgba(170, 92, 219, 0.5)); and background-size: cover;
  2. In image add property => opacity=0.3. And one suggestion=>In image (div) and image, set width and height=100% to make image resonsive.
0

Dammie 100

@oluwadamilola21

Posted

@akash-1712 thank you

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