Design comparison
SolutionDesign
Solution retrospective
Hello! I am a newbie and i try to make my best in all projects learning and making. I have a question about my project
- I had difficultes trying to make hover effect on image, what's the solution to make that?
Thanks for feedback and helping!
Community feedback
- @fatlindshehuPosted over 2 years ago
Hello,
- You can make a new div and set position: absolute; to place it above the image.
- Set ** opacity: 0;** on the created div.
- on hover set the opacity: 1;.
- Make sure the parent element of the div is set to position: relative.
Follow these steps and I think you’ll do fine!
Keep it up & 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