I am using a Bootstrap modal in my website. I want to use two images as a background. I am able to use one image succesfully. When I try to include a second image I facing issues.
My first image appears on the whole modal and the second image is small, yet I want it to appear on top of the first image.
My CSS code for the first image is
.modal-content{
background-image: url("{% static "markatix/imgs/modal/bg.png" %}");
}
I tried the solution in this question but when written like this my first image also disappears.
I also tried
.modal-content{
background-image: url("{% static "markatix/imgs/modal/bg.png" %}") ,url("{% static "markatix/imgs/modal/bg2.png" %}") ;
background-repeat: no-repeat,no-repeat;
background-position: center, center;
}
However it shows me only one image.