Skip to main content

Full Background Image in CSS


This project will teach you how to create a full background image in css. It will create a large photo that will cover the entire background of the webpage. This is simple and easy to understand. We have to set the following properties such as background image(the location of the image), background-position(which should be center center), background-repeat(it should not be tiled), background-attachment(which should be fixed), background-size(set to cover) and background-color. You can also do this in a shorthand notation(background:url(background-photo.jpg) center center cover no-repeat fixed);.

Hope you learn from this.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.