-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (43 loc) · 933 Bytes
/
index.html
File metadata and controls
50 lines (43 loc) · 933 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<meta name='viewport' content='width=device-width, initial-scale=1' />
<title>Slider</title>
<link rel='icon'
href='data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>👾</text></svg>'>
</head>
<body>
<div class='slider-wrapper' id='slider'></div>
<script type='module' src='index.js'></script>
</body>
<style>
body {
margin: 0;
width: 100%;
height: 100vh;
font-family: 'Arial', sans-serif;
display: flex;
justify-content: center;
align-items: center;
}
.slider-wrapper {
overflow: hidden;
position: absolute;
}
.slider {
height: 100%;
display: flex;
overflow-y: hidden;
position: absolute;
transition: 0.5s;
}
.slider__item {
display: flex;
justify-content: center;
align-items: center;
color: #ffffff;
font-weight: bold;
}
</style>
</html>