Design comparison
Solution retrospective
When I worked on the hover image style, I didn't find the answer I needed. So I don't know if my way of doing it was correct. If you have a good source so that I can inform myself, I would appreciate it.
Community feedback
- @shameerkamaludeenPosted over 2 years ago
Hi @estebXnDK, nicely done.
I don't know which is a good way, but if you need to know another way to do it I'd recommend to look at Getting an icon on an image on hover CSS
I also recommend knowing the following while achieving this: Does :before not work on img elements? - Faced a really challenging situation when trying to add content after an IMG element on hover and this resource helped rectify it.
You can have a look at my solution to know how I did it.
and small suggestion which I did not do yet 😂, but if you would like you can add a transition on hover.
Enjoy coding...
Marked as helpful0@estebXnDKPosted over 2 years agoHi @shameerkamaludeen .
Thanks for the resources. In a free time I will review it and study it. Of course. I thought about putting the transition but I already had two or three days that I didn't move the project and I decided that the best thing was to upload it since it met the requirements. In my next update I will upload it.
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