-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (63 loc) · 1.86 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
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
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>showloop</title>
</head>
<body>
<div data-showloop style="max-width: 200px; border: 1px solid black">
<div data-showloop-slide>
<div data-showloop-items>
<span style="font-size: 20px">👜</span>
</div>
</div>
</div>
<div
data-showloop
style="max-width: 100px; border: 1px solid black; margin-top: 8px"
>
<div data-showloop-slide>
<div data-showloop-items>
<span style="white-space: nowrap">Slide the showcase in a loop.</span>
</div>
</div>
</div>
<div data-showloop='{ "direction": "reverse", "speed": 10000 }'>
<div data-showloop-slide>
<div style="display: flex; font-size: 80px" data-showloop-items>
<span>👕</span>
<span>👚</span>
<span>🥼</span>
<span>🧥</span>
</div>
</div>
</div>
<div style="display: flex; gap: 8px">
<div
data-showloop='{ "axis": "Y", "speed": 1000 }'
style="width: fit-content; height: 200px; border: 1px solid black"
>
<div data-showloop-slide>
<div data-showloop-items>
<span style="font-size: 20px">🎁</span>
</div>
</div>
</div>
<div
data-showloop='{ "axis": "Y", "direction": "reverse", "speed": 1000 }'
style="width: fit-content; height: 200px; border: 1px solid black"
>
<div data-showloop-slide>
<div data-showloop-items>
<span style="color: red; font-size: 20px">NOW ON SALE</span>
</div>
</div>
</div>
</div>
<script type="module">
import showloop from "./src/index.ts"
showloop()
</script>
</body>
</html>