8
Which css transition property is actually used when you use the css property:
.selector {
transform: scale(n);
}
I'm trying to isolate which values are actually changing when I scale something with CSS. This works, but it is also animating everything, which I don't want to do. I only want to animate the height/width of the object:
.selector {
transition: all 0.3s linear;
}
Instead of 'all', I have tried settings 'width height', but it doesn't smoothly animate anymore. It just snaps to the final position.