Submitted almost 2 years agoA solution to the Stats preview card component challenge
Responsive stats preview card component using flexbox
bem, accessibility
@madhavan-ts

Solution retrospective
I have completed this as my 9th challenge in Frontend Mentors. I am glad to accept any feedback and suggestions regarding the accessibility and the techniques that I have used to develop the webpage.
I have learnt about the backgound-blend-mode and also the filter properties and also to make the overlay on the image I used the ::before pesudo selector
.card__img-container::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
filter: brightness(80%);
background-color: hsla(277, 64%, 61%, 0.5);
}
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Madhavan's solution.
Join 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