Site the code originally came from. Travis.Media
Give the widget, container or box the class name of “grow” or “shrink” and then add code to widget or in the customizer if it will be use site wide and not just on a page or two. Alter code to your taste.
Code for Growing:
.grow {
transition: all .2s ease-in-out;
}
.grow:hover {
transform: scale(1.1);
}
Code for Shrinking:
.shrink {
transition: all .2s ease-in-out;
}
.shrink:hover {
transform: scale(0.9);
}