Currently working on a hover effect that enhances image brightness and scales the image during hover. However, I am experiencing some choppiness in the transform animation due to the CSS filter. It's strange because it appears to be smooth in Safari and Firefox. Any thoughts on why this might be happening?
Here is the basic setup:
.parent
width: 300px;
height: 300px;
overflow: hidden;
img
transition: all 1s ease-out;
transform: translate(0px, 0);
filter: brightness(80%);
&:hover
transform: scale(1.1);
For a full demonstration, check out this link: http://codepen.io/tzzo/pen/MmKeVm
Thank you!