The animation in my .css file is called @keyframes scrollTextTwo{}. the code in my .js file is:
$(document).ready(function(){
rightBox.style.animation = "scrollTextTwo 10s 1";
});
When I load the .html file in the browser it perfectly runs one time or it will run infinitely if i replace the "1": after the scrollTextTwo 10 with infinite. My question is how can I get a second object such as #leftBox from my .css file to animate ONLY after the #rightBox has completed its animation in the above example.
I have attached all three docs: html/css/.js with code pen just in case anyone wants to dive deep into the code.