7 13 Reasons Why HD Wallpapers and Background Images. Download for free on all your devices - Computer, Smartphone, or Tablet. Wallpaper Abyss. Criminal background checks for employment screening and tenant screening nationwide. E-mail: [email protected] / [email protected] Phone: (877) SENTRY1 / (877) 736-8791. 100% free custom background images for Microsoft Teams meetings. We hand-picked these images from various sources such as Unsplash, Pexels, and more.
Find a HD wallpaper for your Mac, Windows, Desktop or Android device. We hand-picked all photos to ensure that they are high-quality and free. Discover now our large variety of topics and our best pictures. You didn't find the perfect wallpaper to beautify your desktop or homescreen? Browse through even more HD photos and videos.
Example
Set a background-image for the <body> element:
![Backgrounds 7 13 Backgrounds 7 13](https://i.pinimg.com/originals/30/c9/6b/30c96b40102b2d78732e27aacf6293d9.jpg)
Backgrounds 7 13 Inch
body {
background-image: url('paper.gif');
background-color: #cccccc;
}
Try it Yourself »background-image: url('paper.gif');
background-color: #cccccc;
}
Example
Set two background images for the <body> element:
body {
background-image: url('img_tree.gif'), url('paper.gif');
background-color: #cccccc;
}
Try it Yourself »background-image: url('img_tree.gif'), url('paper.gif');
background-color: #cccccc;
}
More 'Try it Yourself' examples below.
Definition and Usage
The
background-image
property sets one or more background images for an element.By default, a background-image is placed at the top-left corner of an element, and repeated both vertically and horizontally.
Tip: The background of an element is the total size of the element, including padding and border (but not the margin).
Tip: Always set a background-color to be used if the image is unavailable. Macpilot 7 1 6 download free.
Default value: | none |
---|---|
Inherited: | no |
Animatable: | no. Read about animatable |
Version: | CSS1 + new values in CSS3 |
JavaScript syntax: | object.style.backgroundImage='url(img_tree.gif)' Try it |
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Note: IE8 and earlier do not support multiple background images.
CSS Syntax
Property Values
Value | Description |
---|---|
url('URL') | The URL to the image. To specify more than one image, separate the URLs with a comma |
none | No background image will be displayed. This is default |
linear-gradient() | Sets a linear gradient as the background image. Define at least two colors (top to bottom) |
radial-gradient() | Sets a radial gradient as the background image. Define at least two colors (center to edges) |
repeating-linear-gradient() | Repeats a linear gradient |
repeating-radial-gradient() | Repeats a radial gradient |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
More Examples
Example
Sets two background images for the <body> element. Let the first image appear only once (with no-repeat), and let the second image be repeated:
body {
background-image: url('img_tree.gif'), url('paper.gif');
background-repeat: no-repeat, repeat;
background-color: #cccccc;
}
Try it Yourself »background-image: url('img_tree.gif'), url('paper.gif');
background-repeat: no-repeat, repeat;
background-color: #cccccc;
}
Example
Use different background properties to create a 'hero' image:
.hero-image {
background-image: url('photographer.jpg'); /* The image used */
background-color: #cccccc; /* Used if the image is unavailable */
height: 500px; /* You must set a specified height */
background-position: center; /* Center the image */
background-repeat: no-repeat; /* Do not repeat the image */
background-size: cover; /* Resize the background image to cover the entire container */
}
Try it Yourself »background-image: url('photographer.jpg'); /* The image used */
background-color: #cccccc; /* Used if the image is unavailable */
height: 500px; /* You must set a specified height */
background-position: center; /* Center the image */
background-repeat: no-repeat; /* Do not repeat the image */
background-size: cover; /* Resize the background image to cover the entire container */
}
Example
Sets a linear-gradient (two colors) as a background image for a <div> element:
#grad1 {
height: 200px;
background-color: #cccccc;
background-image: linear-gradient(red, yellow);
}
height: 200px;
background-color: #cccccc;
background-image: linear-gradient(red, yellow);
}
Backgrounds 7 13 Laptop
Try it Yourself »Example
Sets a linear-gradient (three colors) as a background image for a <div> element:
#grad1 {
height: 200px;
background-color: #cccccc;
background-image: linear-gradient(red, yellow, green);
}
Try it Yourself »height: 200px;
background-color: #cccccc;
background-image: linear-gradient(red, yellow, green);
}
Example
The repeating-linear-gradient() function is used to repeat linear gradients:
#grad1 {
height: 200px;
background-color: #cccccc;
background-image: repeating-linear-gradient(red, yellow 10%, green 20%);
}
Try it Yourself »height: 200px;
background-color: #cccccc;
background-image: repeating-linear-gradient(red, yellow 10%, green 20%);
}
Example
Sets a radial-gradient (two colors) as a background image for a <div> element: Screens 4 3 8 – access your computer remotely backup.
#grad1 {
height: 200px;
background-color: #cccccc;
background-image: radial-gradient(red, yellow);
}
Try it Yourself »height: 200px;
background-color: #cccccc;
background-image: radial-gradient(red, yellow);
}
Example
Sets a radial-gradient (three colors) as a background image for a <div> element:
#grad1 {
height: 200px;
background-color: #cccccc;
background-image: radial-gradient(red, yellow, green);
}
Try it Yourself »height: 200px;
background-color: #cccccc;
background-image: radial-gradient(red, yellow, green);
}
Example
The repeating-radial-gradient() function is used to repeat radial gradients:
#grad1 {
height: 200px;
background-color: #cccccc;
background-image: repeating-linear-gradient(red, yellow 10%, green 20%);
}
Try it Yourself »height: 200px;
background-color: #cccccc;
background-image: repeating-linear-gradient(red, yellow 10%, green 20%);
}
Backgrounds 7 13 Reasons
Related Pages
CSS tutorial: CSS Background, CSS Backgrounds (advanced), CSS Gradients
Backgrounds 7 13 Reasons
HTML DOM reference: backgroundImage property