Design comparison
SolutionDesign
Solution retrospective
I find difficult to make a hover on main Image and I can't solve it , but I write the selctor in css which make it
Community feedback
- @josharesPosted about 2 years ago
you can wrap the images you want to hover on into a div. then apply (:hover) to the div class and give it whatever style you want and if its just the image you want to hover on do the same, apply (:hover) to the class name of the image and add whatever style you want to it. for example ; imagine class name to be image-1 the style will be :
.image-1:hover {
width: 300px;
}
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