Created by: MartijnCuppens
Fixes #25203 (closed).
Transition duration is taken from first carousel item instead of static value of 600. This allow us to change the transition-duration with css.
Demo: https://codepen.io/MartijnCuppens/pen/YYEQer (Note: auto updating is disabled, rerun codepen to see changes)