As in the transition property to set a different duration value for the formatted properties?

Good afternoon.

All of the transition property to specify the duration of the animation for individual properties?

You like to write(maybe that was a mistake in the syntax, but the point is, I think that is clear:
transition: background-color 2s,
color 10s,
width 5s;


It is possible to specify a duration for the properties to transition without specifying the properties themselves?

PS. If you specify a duration value separated by a comma, the last value is used for all properties.
July 12th 19 at 17:08
2 answers
July 12th 19 at 17:10
write separate transition for each property , toe of the properties of five transfernow
In this case, the option that I wrote above, what's wrong? - lucas_Robel0 commented on July 12th 19 at 17:13
the fact that it is not working as it should you - Charlene_Carter16 commented on July 12th 19 at 17:16
: I can't understand why? For each property specified duration. - lucas_Robel0 commented on July 12th 19 at 17:19
July 12th 19 at 17:12
a {
 transition: background .5s , color 1s;
}

Background - half a second, color - second.
This, I realized, I was just thinking that you can do something like that - transition: all 5s, 1s; - lucas_Robel0 commented on July 12th 19 at 17:15
It is better not to hang up the transition all at once, and specify the particular property. - Charlene_Carter16 commented on July 12th 19 at 17:18

Find more questions by tags CSS