Using CSS Grid to build this card component
Design comparison
Solution retrospective
Any feedback will be great!!
I had some trouble with the image. If anyone has a better solution to make it purplish I'd love to know.
Thank you.
Community feedback
- @codepraycodePosted over 3 years ago
The violent accent color in the style guide is not exactly the kind of overlay that was on the image, I added a little bit of alpha to it and I got pretty much the same overlay color on the image as in the design image. Perhaps you could try it out to see.
Happy Coding π©βπ»π
1 - @dewslysePosted over 3 years ago
Hi @HugoLc π! Nice work overall.
You can try adding a
mix-blend-mode
property to yourimg
tag. Setting this property tomultiply
and adjusting the opacity worked for me.Also you may want to check the responsiveness of your card. The
overflow-x
property on your<body>
tag is truncating the card elements.Hope this helps.
Happy coding π»
1
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