Design comparison
SolutionDesign
Solution retrospective
A project where I had a little difficulty with hovers, I would like to know if the organization of the html and css is correct
Community feedback
- @FloRiouffreytPosted almost 2 years ago
Hi there! Noob answer, I'm not an expert but here are my 2 cents: use a CSS "width: max-content;" on your <h1>Equilibrium #3429</h1>, this way the hover will not happen when you're not directly on the text. I also used an ::after pseudo-element for the hover on the image, don't know if it's a better practice... The rest looks really good to me, good job (but again, I'm no expert) Hope this helps!
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