Menu icon Foundation
Color Change in Web Coding

How can I achieve an effect like the box that changes color on the site www.casey.nyc without using a gif, but rather with an object or button with js or css?

htmlcssjswebWebsitecodingrainbow

How can I achieve an effect like the box that changes color on the site www.casey.nyc without using a gif, but rather with an object or button with js or css?

Val Ery over 3 years ago

 Simple example: http://codepen.io/Val_Ery/pen/mPwGPN

For animation, I use the block with the class .rect. You can use svg, if you want.

Lex Nasser over 3 years ago

Thank you so much, Val!