Return to site

Backgrounds 7 13

broken image


Inch

Instant People Search! Start searching 100% free to find contact information, current addresses, mobile phone numbers, social media profiles, criminal records and more at CheckPeople. Search from Backgrounds stock photos, pictures and royalty-free images from iStock. Mockflow 1 4 75. Find high-quality stock photos that you won't find anywhere else. 13 Best Watercolor Floral Designs; 10+ Uses of Tropical Patterns for Summer; 9+ Background Designs; 9+ Flyer Backgrounds; 9+ Blurred Backgrounds; 18+ 2017 New Year Backgrounds; 19+ Beautiful Birthday Backgrounds; 20+ Polygon Backgrounds; 24+ Christmas Desktop Backgrounds; 29+ Free Cool Backgrounds; 21+ Evergreen Adorable Tumblr Background for.


Example

Screen color picker. Set a background-image for the element: Emmylou harris gliding bird rar.

body {
background-image: url('paper.gif');
background-color: #cccccc;
}
Try it Yourself »

Example

Set two background images for the element:

body {
background-image: url('img_tree.gif'), url('paper.gif');
background-color: #cccccc;
}
Try it Yourself »

More 'Try it Yourself' examples below.

Definition and Usage

The background-image property sets one or more background images for an element. Aiseesoft hd converter 9 2 8 download free.

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.

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

ValueDescription
url('URL')The URL to the image. To specify more than one image, separate the URLs with a comma
noneNo 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
initialSets this property to its default value. Read about initial
inheritInherits this property from its parent element. Read about inherit

More Examples

Example

Sets two background images for the element. Let the first image appear only once (with no-repeat), and let the second image be repeated:

Daniel 7:13

body {
background-image: url('img_tree.gif'), url('paper.gif');
background-repeat: no-repeat, repeat;
background-color: #cccccc;
}
Try it Yourself »

Backgrounds 7 13 Laptop

Example

Use different background properties to create a 'hero' image: Directv com watch now.

.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 »

Example

Sets a linear-gradient (two colors) as a background image for a

element:

#grad1 {
height: 200px;
background-color: #cccccc;
background-image: linear-gradient(red, yellow);
}
Try it Yourself »

Example

Sets a linear-gradient (three colors) as a background image for a

element:

#grad1 {
height: 200px;
background-color: #cccccc;
background-image: linear-gradient(red, yellow, green);
}

Backgrounds 7 1366

Try it Yourself »

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 »

Backgrounds 7 13 Reasons

Example

Sets a radial-gradient (two colors) as a background image for a

element:

#grad1 {
height: 200px;
background-color: #cccccc;
background-image: radial-gradient(red, yellow);
}
Try it Yourself »

Example

Sets a radial-gradient (three colors) as a background image for a

element:

#grad1 {
height: 200px;
background-color: #cccccc;
background-image: radial-gradient(red, yellow, green);
}
Try it Yourself »

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 »
7:13

Instant People Search! Start searching 100% free to find contact information, current addresses, mobile phone numbers, social media profiles, criminal records and more at CheckPeople. Search from Backgrounds stock photos, pictures and royalty-free images from iStock. Mockflow 1 4 75. Find high-quality stock photos that you won't find anywhere else. 13 Best Watercolor Floral Designs; 10+ Uses of Tropical Patterns for Summer; 9+ Background Designs; 9+ Flyer Backgrounds; 9+ Blurred Backgrounds; 18+ 2017 New Year Backgrounds; 19+ Beautiful Birthday Backgrounds; 20+ Polygon Backgrounds; 24+ Christmas Desktop Backgrounds; 29+ Free Cool Backgrounds; 21+ Evergreen Adorable Tumblr Background for.


Example

Screen color picker. Set a background-image for the element: Emmylou harris gliding bird rar.

body {
background-image: url('paper.gif');
background-color: #cccccc;
}
Try it Yourself »

Example

Set two background images for the element:

body {
background-image: url('img_tree.gif'), url('paper.gif');
background-color: #cccccc;
}
Try it Yourself »

More 'Try it Yourself' examples below.

Definition and Usage

The background-image property sets one or more background images for an element. Aiseesoft hd converter 9 2 8 download free.

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.

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

ValueDescription
url('URL')The URL to the image. To specify more than one image, separate the URLs with a comma
noneNo 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
initialSets this property to its default value. Read about initial
inheritInherits this property from its parent element. Read about inherit

More Examples

Example

Sets two background images for the element. Let the first image appear only once (with no-repeat), and let the second image be repeated:

Daniel 7:13

body {
background-image: url('img_tree.gif'), url('paper.gif');
background-repeat: no-repeat, repeat;
background-color: #cccccc;
}
Try it Yourself »

Backgrounds 7 13 Laptop

Example

Use different background properties to create a 'hero' image: Directv com watch now.

.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 »

Example

Sets a linear-gradient (two colors) as a background image for a

element:

#grad1 {
height: 200px;
background-color: #cccccc;
background-image: linear-gradient(red, yellow);
}
Try it Yourself »

Example

Sets a linear-gradient (three colors) as a background image for a

element:

#grad1 {
height: 200px;
background-color: #cccccc;
background-image: linear-gradient(red, yellow, green);
}

Backgrounds 7 1366

Try it Yourself »

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 »

Backgrounds 7 13 Reasons

Example

Sets a radial-gradient (two colors) as a background image for a

element:

#grad1 {
height: 200px;
background-color: #cccccc;
background-image: radial-gradient(red, yellow);
}
Try it Yourself »

Example

Sets a radial-gradient (three colors) as a background image for a

element:

#grad1 {
height: 200px;
background-color: #cccccc;
background-image: radial-gradient(red, yellow, green);
}
Try it Yourself »

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 »

Related Pages

Backgrounds 7 13 Free

CSS tutorial: CSS Background, CSS Backgrounds (advanced), CSS Gradients

HTML DOM reference: backgroundImage property







broken image