سلام
یک اسلایدر عکس دارم که میخوام هر 3 ثانیه عکس ها به صورت خودکار عوض بشه

<!DOCTYPE html>
<html lang=&quot;fa&quot;>

<head>
<meta charset=&quot;UTF-8&quot;>
<title>CodePen - Crack Climbing Carousel - CSS :has()</title>
<link rel=&#39;stylesheet&#39; href=&#39;https://fonts.googleapis.com/css2?family=Quicksand:wght@700&amp;display=swap&#3 9;><link rel=&quot;stylesheet&quot; href=&quot;./style.css&quot;>

</head>
<style>
body {
background: url(http://subtlepatterns.subtlepatterns...rast_linen.png)
repeat;
-webkit-font-smoothing: subpixel-antialiased;
background-color: rgb(243, 243, 243);
}
#warp {
width: 90%;
max-width: 800px;
background: #595959;
margin: 30px auto;
overflow: hidden;
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.75);
-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.75);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
ul#gallery-container {
position: relative;
width: 100%;
max-width: 800px;
height: auto;
padding: 52% 0 10px;
margin: 0;
text-align: center;
display: block;
}
li.gallery-item {
display: inline-block;
width: 10%;
cursor: pointer;
*display: inline;
}
img.gallery-preview {
background: white;
margin: 0;
padding: 5% 5% 15%;
*padding: 2px 2px 10px;
position: relative;
top: 0;
width: 85%;
height: auto;
max-height: 45px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
overflow: hidden;
-webkit-transition: all 0.3s ease-out 0.2s;
-moz-transition: all 0.3s ease-out 0.2s;
-o-transition: all 0.3s ease-out 0.2s;
transition: all 0.3s ease-out 0.2s;
}
ul#gallery-container:hover li img.gallery-preview {
opacity: 0.5;
-webkit-filter: blur(2px) grayscale(0.5);
}
ul#gallery-container:hover li:hover img.gallery-preview {
opacity: 1;
-webkit-filter: blur(0px) grayscale(0);
}

input.gallery-selector:checked ~ label.gallery-label > img.gallery-preview,
ul#gallery-container:hover li:hover img.gallery-preview:hover {
z-index: 5;
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.75);
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.75);
-webkit-transform: scale(1.25);
-moz-transform: scale(1.25);
-o-transform: scale(1.25);
transform: scale(1.25);

-webkit-transform-origin: bottom center;
-moz-transform-origin: bottom center;
-o-transform-origin: bottom center;
transform-origin: bottom center;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
ul#gallery-container:hover li:hover img.gallery-preview:hover {
z-index: 20;
}
input.gallery-selector:checked ~ label.gallery-label > img.gallery-preview {
background: #333;
}

img.gallery-fullsize {
position: absolute;
top: 0px;
left: 0px;
display: block;
width: 100%;
height: auto;
z-index: -1;
opacity: 0;
-webkit-transform: scale(0.25);
-moz-transform: scale(0.25);
-o-transform: scale(0.25);
transform: scale(0.25);
-webkit-transform-origin: bottom center;
-moz-transform-origin: bottom center;
-o-transform-origin: bottom center;
transform-origin: bottom center;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
ul#gallery-container:hover li.gallery-item:active img.gallery-fullsize {
z-index: 50;
opacity: 0.75;
-webkit-filter: blur(10px) grayscale(1);
border-radius: 10%;
-webkit-border-radius: 10%;
-moz-border-radius: 10%;
-webkit-transform-origin: bottom center;
-moz-transform-origin: bottom center;
-o-transform-origin: bottom center;
transform-origin: bottom center;
-webkit-transition: all 0.3s ease-out 0.2s;
-moz-transition: all 0.3s ease-out 0.2s;
-o-transition: all 0.3s ease-out 0.2s;
transition: all 0.3s ease-out 0.2s;
}
ul#gallery-container:hover
li:hover
input.gallery-selector:checked
~ img.gallery-fullsize {
z-index: 10;
opacity: 1;
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
}

input.gallery-selector:checked ~ img.gallery-fullsize {
display: block;
opacity: 1;
z-index: 10;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);

-webkit-transform-origin: top center;
-moz-transform-origin: top center;
-o-transform-origin: top center;
transform-origin: top center;
-webkit-transition: all 0.2s ease-in 0.3s;
-moz-transition: all 0.2s ease-in 0.3s;
-o-transition: all 0.2s ease-in 0.3s;
transition: all 0.2s ease-in 0.3s;
}
input.gallery-selector {
display: none;
}
label.gallery-label {
cursor: pointer;
}
</style>




<body>

<div id=&quot;warp&quot;>
<ul id=&quot;gallery-container&quot;>

<li class=&quot;gallery-item&quot;>
<input checked=&quot;checked&quot; type=&quot;radio&quot; name=&quot;gallery-list&quot; class=&quot;gallery-selector&quot; value=&quot;1.jpg&quot; id=&quot;gallery-item1&quot; />
<img src=&quot;https://loremflickr.com/400/200/sports?lock=10&quot; class=&quot;gallery-fullsize&quot; alt=&quot;location bateau 135ch&quot; />
<label for=&quot;gallery-item1&quot; class=&quot;gallery-label&quot;>
<img src=&quot;https://loremflickr.com/76/50/sports?lock=10&quot; class=&quot;gallery-preview&quot; alt=&quot;location bateau 135ch&quot; />
</label>
</li>

<li class=&quot;gallery-item&quot;>
<input type=&quot;radio&quot; name=&quot;gallery-list&quot; class=&quot;gallery-selector&quot; value=&quot;3.jpg&quot; id=&quot;gallery-item3&quot; />
<img src=&quot;https://loremflickr.com/400/200/sports?lock=2&quot; class=&quot;gallery-fullsize&quot; alt=&quot;location bateau 135ch&quot; />
<label for=&quot;gallery-item3&quot; class=&quot;gallery-label&quot;>
<img src=&quot;https://loremflickr.com/76/50/sports?lock=2&quot; class=&quot;gallery-preview&quot; alt=&quot;location bateau 135ch&quot; />
</label>
</li>

<li class=&quot;gallery-item&quot;>
<input type=&quot;radio&quot; name=&quot;gallery-list&quot; class=&quot;gallery-selector&quot; value=&quot;4.jpg&quot; id=&quot;gallery-item4&quot; />
<img src=&quot;https://loremflickr.com/400/200/sports?lock=3&quot; class=&quot;gallery-fullsize&quot; alt=&quot;location bateau 135ch&quot; />
<label for=&quot;gallery-item4&quot; class=&quot;gallery-label&quot;>
<img src=&quot;https://loremflickr.com/76/50/sports?lock=3&quot; class=&quot;gallery-preview&quot; alt=&quot;location bateau 135ch&quot; />
</label>
</li>

<li class=&quot;gallery-item&quot;>
<input type=&quot;radio&quot; name=&quot;gallery-list&quot; class=&quot;gallery-selector&quot; value=&quot;5.jpg&quot; id=&quot;gallery-item5&quot; />
<img src=&quot;https://loremflickr.com/400/200/sports?lock=4&quot; class=&quot;gallery-fullsize&quot; alt=&quot;location bateau 135ch&quot; />
<label for=&quot;gallery-item5&quot; class=&quot;gallery-label&quot;>
<img src=&quot;https://loremflickr.com/76/50/sports?lock=4&quot; class=&quot;gallery-preview&quot; alt=&quot;location bateau 135ch&quot; />
</label>
</li>

<li class=&quot;gallery-item&quot;>
<input type=&quot;radio&quot; name=&quot;gallery-list&quot; class=&quot;gallery-selector&quot; value=&quot;6.jpg&quot; id=&quot;gallery-item6&quot; />
<img src=&quot;https://loremflickr.com/400/200/sports?lock=5&quot; class=&quot;gallery-fullsize&quot; alt=&quot;location bateau 135ch&quot; />
<label for=&quot;gallery-item6&quot; class=&quot;gallery-label&quot;>
<img src=&quot;https://loremflickr.com/76/50/sports?lock=5&quot; class=&quot;gallery-preview&quot; alt=&quot;location bateau 135ch&quot; />
</label>
</li>

<li class=&quot;gallery-item&quot;>
<input type=&quot;radio&quot; name=&quot;gallery-list&quot; class=&quot;gallery-selector&quot; value=&quot;7.jpg&quot; id=&quot;gallery-item7&quot; />
<img src=&quot;https://loremflickr.com/400/200/sports?lock=6&quot; class=&quot;gallery-fullsize&quot; alt=&quot;location bateau 135ch&quot; />
<label for=&quot;gallery-item7&quot; class=&quot;gallery-label&quot;>
<img src=&quot;https://loremflickr.com/76/50/sports?lock=6&quot; class=&quot;gallery-preview&quot; alt=&quot;location bateau 135ch&quot; />
</label>
</li>

</ul>
</div>
</div>
</div>

</body>
</html>

این هم کدش هست