CSS Background Image Repeating

Hi, I was trying to make a background image and I am using this code:

background-image: url(’’);

The empty space between the quotations is because I don’t have the image code. For some reason when I use that code the background image I chose appears a bunch of times in a grid. I would like to make it one image for the background. Thanks.

Add this to your CSS:

background-attachment: fixed;
background-repeat: no-repeat;
background-position: center;

That might help.

3 Likes