NFT preview component using HTML/CSS

Solution retrospective
Was a fun project. Enjoyed 'flexing' my flexbox skills and generally structuring my code.
I found the hover effect and aligning the eye SVG in the centre of the image quite difficult. Both solutions seemed 'hacky'.
Are there any best practises or ways to do this better? I have heard using ::before and ::after can be more efficient but couldn't really find any resources online for it.
Thanks!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kostya Farber 🧟♂️'s solution.
Join 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