It is possible to create a dynamic array of images and it is called inside the background-image: url ()?
With the hint that was passed by @hugocsl earlier, I would like to reuse this statement line because it is part of a page loader that I use and is very useful to me,
#carrega_imagem {
position: relative;
background-image: linear-gradient(rgba(0, 0, 0, .75) 0%,
rgba(102, 0, 0, .50) 100%),
url("images/casa_linda.jpg");
background-size: cover;
height: 100%;
width: 100%;
top: 100%;
left: 100%;
}
Where is the code snippet url("images/casa_linda.jpg")
, is it possible to create an array via javascript?
I saw this in Jquery, but what kills is the framework I use for this loader.