CSS Background image

Example how to use CSS background color, background-image, background image repeat, size, position and etc.

Create css clas with html <body> element

body{
background-image: url("background.jpeg");
background-color:#ffffff;
}

Full background-image with no repeat

body{
background-image: url("background.jpeg");
background-color:#ffffff;
background-size: cover;
background-repeat: no-repeat;
}