Is it possible to use several css classes for transition ?
If I have this CSS :
.fade {
opacity: 0;
transition: opacity .5s linear;
}
.left {
left: 10px;
transition: left .3s ease;
}
Then I can't use the 2 classes on 1 html element, one transition property will override the other. I know I could create a class .fade-left which would do both (see this question), but I'd like to keep this modularity.
Is there a way to add both transitions ?