Here is part of the code I am working on and I want it to add a background around the whole image when I hover over it but when I set the width and height of the div it won't work and only the bottom part is changed as shown in the snippet.
I would like some help on how to solve this problem.
#select-background{
display:inline;
}
#select-background:hover{
display:inline;
background-color:#c1c1c1;
height:95px;
width:95px;
border-radius:10px;
}
<div id="select-background"><a href="https://hotmail.com"><img height="75" width="75" src="https://arteminc.github.io/stackoverflow-assets/hotmail.png"/></a></div>