I am currently facing an issue with a DIV element that has CSS properties for hover effect. The code snippet is as follows:
.card:hover {
box-shadow: 5px 5px 20px #c4c4c4;
margin-top: -5px;
margin-left: -5px;
}
Within this div, there is an image styled with the following CSS:
.card .avatar {
border-radius: 100px;
margin-top: -30px;
margin-left: 10px;
}
The problem I am encountering is that the image appears to be jittery or "shaking" slightly during the transition.
For reference, here is the fiddle link: https://jsfiddle.net/zudvv4cv/2/