I've been trying to find the problem for the longest time (note: I'm a beginner in this area), it happens that when the background changes the image, in a small interval it's like a flash, and how I changed from jquery to css, because was not managing to soften the slider effect, this flash is annoying me. And the interesting thing that only happens in the first loop, then it continues to exchange images normally. Anyway the code is here, I hope you help me.
.body{
overflow-x: hidden;
background-image: url("imagens/fundo.png");
background-repeat: no-repeat;
background-size: cover;
animation: linear;
animation-name: body;
animation-duration: 30s;
animation-iteration-count: infinite;
animation-delay: .1s;
}'
'@keyframes body{
0% {background-image: url("imagens/slide.jpg"); background-size: 100% 100%;}
20% {background-image: url("imagens/slide1.jpg"); background-size: 100% 100%;}
40% {background-image: url("imagens/slide2.jpg"); background-size: 100% 100%;}
60% {background-image: url("imagens/slide3.jpg"); background-size: 100% 100%;}
80% {background-image: url("imagens/slide4.jpg"); background-size: 100% 100%;}
100%{background-image: url("imagens/slide5.jpg"); background-size: 100% 100%;}
}