Design comparison
SolutionDesign
Solution retrospective
Difficulties:
- I couldn't find a proper way to hover on both image and icon view.
Community feedback
- @BenjoowPosted over 2 years ago
Hello crizalid !
For your hover, you can set your after pseudo element with opacity to 0 and add your icon view with "content: url()". I personnaly recommand to set display of your pseudo element in flex and align your icon view with this. It's more simpler than your solution. For your hover element, you set the opacity to 1 AND your background with another system color like rgba or hsla, like this : background: rgba(color num, color num, color num, transparency)
0@crizalid12Posted over 2 years ago@Benjoow Thank you sir for your feedback, I really appreciate it I'll do what you highlighted <3
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