A CodePen by Diego Pardo. fade loading - based on previous pen: http://codepen.io/diegopardo/pen/JFBCn