increase image size when hover css code example
Example 1: resize image slowly on hover
.grow {
transition: all .2s ease-in-out;
}
.grow:hover {
transform: scale(1.1);
}
Example 2: increase the size of an image on hover using css
img {
transition: all .2s ease-in-out;
}
img:hover {
transform: scale(1.5);
}