How to make CSS Slider to autoplay
up vote
0
down vote
favorite
I have this simple HTML/CSS slider with only 2 slides. I need to make it autoplay the slides every 7 seconds. I am not familiar with jquery or javascript, so it would be easier for me to implement a css solution... Can you help? You can see it in action right now at http://www.hotelgalatas.com/test/ Thanks!
body {
overflow: hidden;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
/* Slider wrapper*/
.css-slider-wrapper {
display: block;
background: #FFF;
overflow: hidden;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
/* Slider */
.slider {
width: 100%;
height: 100%;
background: #ccc;
position: absolute;
left: 0;
top: 0;
opacity: 1;
z-index: 0;
display: flex;