Question:
Is it even possible to make two different transformations on an element and move them at different speeds?
Example without conversions ( Fiddle ):
div {
width: 100px;
height: 100px;
background: red;
transition: width 1s linear, height 2s linear;
}
div:hover {
width: 200px;
height: 400px;
}
Note that for widths up to 200 pixels, it takes 1 second and 2 seconds to increase to 400 pixels.
Example with conversions ( Fiddle ):
div {
width: 100px;
height: 100px;
background: red;
transition: transform 1s linear, transform 2s linear;
}
div:hover {
transform: scale(1.5);
transform: rotate(45deg);
}
Notice how it performs only the second conversion. How can you specify which conversion to perform for the transition? Is this overseeing the development of CSS transforms? How can i do this?