0
My slide doesn’t want to be moving around endlessly:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
body {
background:#000000;
}
*{
margin: 0px;
padding: 0px;
}
.galeria {
margin: 200px auto;
width: 480px;
height: 270px;
position: relative;
overflow: hidden;
}
.foto {
position: absolute;
opacity: 0;
animation-name: animacao;
animation-duration: 20s;
animation-interation-count: infinite;
}
@keyframes animacao {
25%{
opacity: 1;
transform:scale(1.1,1.1);
}
50% {
opacity: 0;
}
}
.foto:nth-child(1) {
}
.foto:nth-child(2) {
animation-delay: 5s;
}
.foto:nth-child(3) {
animation-delay: 10s;
}
.foto:nth-child(4) {
animation-delay: 15s;
}
</style>
</head>
<body>
<section class="galeria">
<img class="foto" src="https://i.imgur.com/Zp7hKLk.jpg"/>
<img class="foto" src="https://i.imgur.com/jh0fzrj.jpg"/>
<img class="foto" src="https://i.imgur.com/FNx6QlA.jpg"/>
<img class="foto" src="https://i.imgur.com/qliy99i.jpg"/>
</section>
</body>
</html>
after 4 I want you to go back to 1 and continue...