Design comparison
SolutionDesign
Solution retrospective
Hello, here's my solution for the "stats preview card component" challenge, and I would like to ask a few questions;
- How do I apply the insights (accent) color to my image/card?
- How do I bring the ".attribution" right under the container? if you look at my webpage, you'll see that it's been pushed way down to the end of the page.
That's all I missed, I think. But I would very much appreciate any suggestions/ideas on how to better my work.
Thank You!!! :-)
Community feedback
- @catherineisonlinePosted almost 2 years ago
For the image, I did something like this, I hope that helps:
<div class="image-container"> <img class="main-image" src="images/image-header-mobile.jpg" alt=""> </div>
.image-container { display: inherit; position: relative; width: 100%; border-radius: 0 10px 10px 0; background-color: hsl(277, 64%, 61%); } .main-image { width: 100%; height: 100%; position: relative; background-size: cover; border-radius: 0 10px 10px 0; mix-blend-mode: multiply; opacity: 0.75; }
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