Background Image
Background Image ~10 mins

Background Image

   .myClass {
background-image: url('/path/to/image.jpg');
}

To use multiple images as background-image, define comma separated url()

 .myClass {
background-image: url('/path/to/image.jpg'),
url('/path/to/image2.jpg');
}
Value Result
url('/path/to/image.jpg') Specify background image's path(s) or an image resource specified with data URI
schema (apostrophes can be omitted), separate multiples by comma
none No background image
initial Default value
inherit Inherit parent's value

More CSS for Background Image

background-size:     xpx ypx | x% y%;
background-repeat: no-repeat | repeat | repeat-x | repeat-y;
background-position: left offset (px/%) right offset (px/%) | center center | left top | right
bottom