How to animate the transform-scale and then animate the transform-translateX, using transition?

2

I would like to animate the scale and then animate the translateX using transition, is it possible? or should I use animation and keyframe?

I would like to do something like this:

.anima{
    transition: transform"scale" 1s, transform"translateX" 2s 1s;
}

.anima{
    transform: scale(.95) translateX(90%);
}

.anima:hover{
    transform: scale(1) translateX(80%);
}
    
asked by anonymous 17.08.2015 / 16:41

0 answers