0
It is possible to create a dynamic array of images and call them within the background-image:url() ?
With the tip that was passed by @hugocsl earlier, I would like to reuse this instruction line because it is part of a page download to which I use and it 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")
, it is possible to create an array via javascript ?
I saw this in Jquery, but what kills is the structure I use for this Download.
Dude, you just want the image to alternate all the time in the background? If that’s all you can do with CSS and make an animation with the background changing the images... If you want a simple example, just say the word.
– hugocsl