So i’ve gone through the keyframes and for the most part understood those, however im wanting to do a background color transition on my “Quote Machine” : http://codepen.io/msmith1114/pen/ryRWRy
right now im doing a simple background change on click:
newcolor is just pulling randomly from an array of color hex values.
Since I can’t really just set the CSS keyframes to constantly change, how would I accomplish this on click? I want it to be a sort of slowish transition so it’s not an instant color change.