I'm trying to apply transform-origin in order to transform an image downwards. If I apply the transform-origin with scale-only, I seem to get the expected result, that the image scales downwards:
transformOrigin: 50% 0%;
transform: scale(2);
But if I also translate the image, the transform origin seems to make the image scale more downwards, but also a littelbit upwards:
transformOrigin: 50% 0%;
transform: scale(2) translateY(20px);