Good afternoon, in a site I'm creating this image has a "div".
I'mtryingtomakesomebuildingwindowsflicker,tohaveacooleffect,ananimationinthebuildings.Forthis,IdidinCSS:
#divprediocima{background-image:url("../img/prediocima.png");
width: 972px;
height: 276px;
margin: auto;
margin-top: -40px;
animation-name: prediocima;
animation-duration: 20s;
animation-delay: 4s;
animation-iteration-count: infinite;
}
@keyframes prediocima {
0% {background-image: url("../img/prediocima.png");}
30% {background-image: url("../img/prediocima1.png");}
70% {background-image: url("../img/prediocima2.png");}
90% {background-image: url("../img/prediocima.png");}
100% {background-image: url("../img/fundo.png");}
}
As I have this vector picture, I was taking some windows and saving like other png photos, ie I have 3 png files some with more windows and some less windows.
It turns out that the background is changing with a fade out effect, then when it changes background, the window fades away, becoming clear as the photo shows in some windows ... This is not getting legal. / p>
How do I change without having any effect? Does anyone know?