I am looking to enhance my div element with an additional background image without replacing the existing one. Instead, I want to have multiple backgrounds, so that the new background URL is added below the first.
Below is a preview of what the original CSS will be like:
#cover-art {
background:
url('http://beta.mysite.net/img/banner1.png') top left no-repeat;
padding:250px 0 0;
}
Using jQuery, I aim to add another line with an image URL below the first one as shown in the example below:
#cover-art {
background:
url('http://beta.mysite.net/img/banner1.png') top left no-repeat,
url('http://beta.mysite.net/img/banner2.png') top left no-repeat;
padding:250px 0 0;
}
It is worth mentioning that the CSS for #cover-art is located in an external style sheet.