Design comparison
SolutionDesign
Solution retrospective
I found this challenge fairly straightforward, not difficult at all. The only thing I tried to get the button text to be clear transparency so it could match the background's colour.
On the to the next one I goβ¨πππΎ
Community feedback
- @fernandolapazPosted over 1 year ago
Hi π, regarding your comment:
You could use the
mix-blend-mode
property (which specifies how an element's content should blend with its direct parent background):And removing the transparency that you gave to the
color
.Something like this:
.button { . . . color: rgba(0, 0, 0); background-color: var(--very-light-gray); mix-blend-mode: screen; }
I hope you find it useful, any questions do not hesitate.
And please let me know if it worked π
Regards,
Marked as helpful0
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