html { display: table; height: 100%; width: 100%; background-color:black; background-size: 100%; background-repeat:no-repeat; background-attachment: fixed; background-size: cover; background-position:center; }