I'm studying https://github.com/bradtraversy/50projects50days By Brad and Florin on Udemy.
At "Expanding Cards" project(live demo), the mentioned code in the video doesn't perform the cards transition smoothly. Then I found Chad has fixed the issue. People share the updated code everywhere, but I'd like to know how different they works exactly as I could not find the good information about it (i.e. Why "all" is required in this case, not just "flex"?). I'll appreciate if you explain, or share the links to the helpful information.
Removed code
transition: flex 0.7s ease-in;
Added code
-webkit-transition: all 700ms ease-in;