Submitted over 2 years ago
Responsive Stats preview card component using flexbox
@pyaetheiN
Design comparison
SolutionDesign
Solution retrospective
Things I learned from this challenge:
picture
andsource
html tags- applying
mix-blend-mode: multiply;
css property on a CHILD element inside PARENT element with a background properybackground-color
Question:
- How do I get rid of the small amount of background color overflowing at the bottom of the card image?
Things I learned from feedbacks:
display: block
takes all the place that is possible
Community feedback
- @Kl3vaPosted over 2 years ago
You can set the display to block/inline-block.
Marked as helpful1 - @shashreesamuelPosted over 2 years ago
Hey good job completing this challenge
Keep up the good work
Your solution looks great however I think that the overlay does not fit the height of the image mainly because it is in a separate container. I recommend researching the
mix-blend-mode
css property to achieve the overlay effectI hope this helps
Cheers 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