html,body{
background: linear-gradient(to right top, #336e7b 0%, #8e44ad 50%, #e74c3c 100%) repeat scroll 0 0 #abb7b7;
margin:0;
padding:0;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
JSFiddle:http: //jsfiddle.net/losiuhoi/1ujk40wh/1/
如何将身体的背景设置为 100% 高度?