Updated the code to put the delays in the CSS.