Stats-preview-card-component-main with CSS Flexbox

Solution retrospective
Any suggestions on how to improve my code are welcome.
In particular, I think my purple overlay on the image is too light. I couldn't figure out how to get a darker purple overlay.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @msuryaditriputraR
Hi Shane Pinder 👋
You have an interesting idea to make an image purple with a
linear-gradient
. But I think the best practice and easier is to use thefilter
property. check the explaination about the filter property. And you can also use css filter generator to make it easier 😄For the Accessibility issue do you have, you should wrap the
attribution
div withfooter
tagI hope this helps and happy coding ☕
Marked as helpful
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