demo.css 172 Bytes edit raw blame history 1 2 3 4 5 6 7 8 9 html, body { background-attachment:fixed; background-position:50% 50%; background-size:cover; margin:0; padding:0; } .bg-pic { background-image:url("../img/bg.jpg"); }