You can create checker board transparent image in photoshop, where black pixels are actually black and white — transparent.
After that you can add background image like:
html {
background: black url('background.jpg') no-repeat center center;
background-size: cover;
}
And add grid to body
, like this:
body {
background: url('grid.png') top center;
}