I'm having trouble putting this slider
one on the other, it's just one underneath the other, can anyone help me fix it? Remembering that the first slide
is in the correct position and wanted everyone in the same position, side by side.
HTML :
<div id ="slider">
<figure class="slide"><img src="imagens/header.png" alt=""></figure>
<figure class="slide"><img src="imagens/header2.png" alt=""></figure>
<figure class="slide"><img src="imagens/header3.png" alt=""></figure>
</div>
CSS :
#slider {
list-style:none;
width:100%;
height:100%;
text-align: center;
margin:0 auto;
padding:0;
top:94px;
overflow: hidden;
position: fixed;
animation: 20s slidy infinite;
}
.slide figure div{
width: 20%;
float: left;
}
.slide figure img{
width: 100%;
float: left;
}
.slide figure{
position: relative;
top:16px;
width: 500%;
height:500%;
margin: auto;
}