Submitted over 1 year ago
Responsive Stats Preview Card with CSS grid.
@oceanotrash
Design comparison
SolutionDesign
Solution retrospective
I got challenged on how to change the color of the image that can be overlay with it. I don't know if I'm using the main tag properly.
Community feedback
- @HassiaiPosted over 1 year ago
wrap <div class="attribution"> in the footer tag to fix the accessibility issues.
For the color of the image, give .img-box a background-color of soft violet and add mix-blend-multiply and opacity: 0.8 to the img.
.img-box{ background-color: hsl(); } img{ width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: 0.8; }
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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