Submitted about 3 years ago
Responsive card component using HTML , CSS Grid and Flexbox
@youssef-404
Design comparison
SolutionDesign
Solution retrospective
Is there more practical way to create the purple filter ?
Community feedback
- @dewslysePosted about 3 years ago
You can easily create the purple filter using one of the <blend-mode> properties in css (
background-blend-mode
ormix-blend-mode
). A value ofmultiply
on these properties should do the trick. Try it..image { background: url("images/image-header-desktop.jpg") no-repeat; width: 50%; border-radius: 0 10px 10px 0; background-blend-mode: multiply; background-color: hsl(277, 64%, 61%); }
With this approach, you may not need the
.filter
class.Marked as helpful2@youssef-404Posted about 3 years ago@dewslyse thank you sir i just learn new thing from you thank you
1 - @Shreyansh-07Posted about 3 years ago
Good job bro. But one thing your font-weights are a bit messed up. 👍
Marked as helpful1@youssef-404Posted about 3 years ago@Shreyansh-07i appreciate your feedback i will try to fix it
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