forked from PrathyushNair/ToyMarche_clone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
59 lines (55 loc) · 1.75 KB
/
Copy pathtest.html
File metadata and controls
59 lines (55 loc) · 1.75 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!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>Document</title>
<link rel="stylesheet" href="index.css">
<style>
#sliderdiv{
overflow: hidden;
width:100%;
height:30%;
margin:auto;
}
#sliderdiv figure{
position: relative;
width:1000%;
margin:0;
left:0;
animation: 10s slider infinite
}
@keyframes slider {
0% {
left:0;
}
25%{
left:0;
}
25%{
left:-200%;
}
50%{
left:-300%;
}
50%{
left:-400%
}
75%{
left:-400%
}
}
</style>
</head>
<body>
<div id="sliderdiv">
<figure>
<img onclick="gotoshop()" src="https://d2pyicwmjx3wii.cloudfront.net/s/5f447e14285691dcc9bfcdf2/62396e692116d3b59c938057/webp/home-page-banner-collection-7--2048x2048.png">
<img onclick="gotoshop()" src="https://d2pyicwmjx3wii.cloudfront.net/s/5f447e14285691dcc9bfcdf2/623a01fcde2eaf427daaffe0/webp/home-page-banner-collection-1--2048x2048.png"/>
<img onclick="gotoshop()" src="https://d2pyicwmjx3wii.cloudfront.net/s/5f447e14285691dcc9bfcdf2/62396f0d6f1ac8b64e5c6f60/webp/home-page-banner-collection-8--2048x2048.png"/>
<img onclick="gotoshop()" src="https://d2pyicwmjx3wii.cloudfront.net/s/5f447e14285691dcc9bfcdf2/62396e692116d3b59c938057/webp/home-page-banner-collection-7--2048x2048.png">
</figure>
</div>
</body>
</html>