same duration for multiple animations code example
Example 1: multiple transition in css
.nav a {
transition: color .2s, text-shadow .2s;
}
Example 2: transition multiple properties
.class-name {
/* element transitions top and font-size for two seconds */
transition: height 2s ease-in-out, font-size 2s ease-in-out;
}