Submitted over 2 years ago
stats-preview-card-component using flexbox and css grid
@Mohammedabbas7
Design comparison
SolutionDesign
Solution retrospective
I used the background-image property to create a card image and used the background-blend-mode property to blend color with an image but I faced a little problem with the width and height of the background image. I wonder if there is another way to do that using the IMG element.
Community feedback
- @alsirPosted over 2 years ago
it's fast to use bachground: the color the the url ; . and for this challenge it's best to to set the size of background img to cover , after you set the width and height of its container
0
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