A Pen created at CodePen.io. You can find this one at http://codepen.io/steveg3003/pen/Gqakbo.

 Seamless animation between states, and some of animations break outside the container. Select the weather icons on the top to see each state. 