Design comparison
SolutionDesign
Solution retrospective
I have no idea how to change the color of the image
Community feedback
- @byronbyronPosted almost 3 years ago
It needs to be a background image instead and it needs
background-blend-mode: multiply;
, so might look something like this:<div class="image-container" style="background-image: url('images/image-header-mobile.jpg')"></div>
.image-container { background-size: cover; background-position: center; background-color: hsl(277deg 64% 64%); background-blend-mode: multiply; width: 100%; height: 100%; }
Then add
overflow: hidden;
to the.main-container
class to make sure it rounds off the corners.Hope that helps!
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