TO W HTML: TO W CSS: body { -webkit-transition: all 2s; transition: all 2s; opacity:0; }