-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (28 loc) · 1.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rotating gallry</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="image-container">
<span style="--i: 1"><img src="https://picsum.photos/id/233/300/200"></span>
<span style="--i: 2"><img src="https://picsum.photos/id/54/300/200"></span>
<span style="--i: 3"><img src="https://picsum.photos/id/27/300/200"></span>
<span style="--i: 4"><img src="https://picsum.photos/id/666/300/200"></span>
<span style="--i: 5"><img src="https://picsum.photos/id/123/300/200"></span>
<span style="--i: 6"><img src="https://picsum.photos/id/32/300/200"></span>
<span style="--i: 7"><img src="https://picsum.photos/id/45/300/200"></span>
<span style="--i: 8"><img src="https://picsum.photos/id/458/300/200"></span>
</div>
<div class="btn-container">
<button class="btn" id="prev">Prev</button>
<button class="btn" id="next">Next</button>
</div>
<script src="index.js"></script>
</body>
</html>