This demo applies the same CSS classes to both lists. The classes use a CSS variable to determine the speed of animation.
Javascript is then used to dynamically set the value for that CSS variable.