Find a gif which is enough in w & h, to not have problems with it on lower resolution or even higher, and go to your css and in the body code add this :
background-image: url("");
background-color: yourcolor;
Additionally you can use the following codes to choose how it shows :
background-size: cover;
background-poisiton: top center; ( or center center, bottom center, top right, etc )