@Emmiecodes
Posted
Hi Nikhil, I liked how you personalized your hover-effect and saw you had the same problem I had with the overflow. Try using the line-height property with a value of 0 on your container-img. It is also worth trying to change the height values on the body and html elements. I am not entirely confident with that myself. Editing this comment because I gave not helpful advise after I checked in my browsers inspect mode about the height on the HTML/body. I hope the oveflow options helps you though.
Marked as helpful
@NIk22517
Posted
@Emmiecodes Thank you for the positive feedback! It means a lot to know you've noticed and the overflow issue was resolved using line-height 0