-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
134 lines (129 loc) · 3.72 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{title}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<!-- Link Swiper's CSS -->
<link rel="stylesheet" href="css/swiper.min.css" />
<!-- Demo styles -->
<style>
html, body {
position: relative;
height: 100%;
}
body {
background: #eee;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
color:#3c3c3c;
margin: 0;
padding: 0;
}
a { color: #3c3c3c; text-decoration: none; }
.swiper-container {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
/*.rel { position: relative;}*/
.rp-block-01 {
width: 80%;
margin-top: -40%;
}
.rp-img-01 {
position: relative;
width: 90%;
margin-bottom: 10%;
}
.rp-text { font-size: 1.4em;}
.rp-btn {
position: absolute;
bottom: 4%;
width: 40%;
margin: 0 auto;
line-height: 40px;
text-align: center;
border-radius: 2px;
border: 1px solid;
}
/* query style */
@media screen and (min-width: 800px) {
body {
background-color: #fff;
}
#rp-wrap {
width: 800px;
height: 500px;
margin-top: 15%;
}
.rp-img-01{
width: 200px;
}
}
</style>
</head>
<body>
<!-- Swiper -->
<div class="swiper-container" id="rp-wrap">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="rp-block-01">
Sign up or login Seeed (To Do)
</div>
<div class="rp-btn j-next">Next</div>
</div>
<div class="swiper-slide">
<div class="rp-block-01">
<img src="img/rp_app_02.png" alt="ReSpeaker" class="rp-img-01">
<div class="rp-text">Connect ReSpeaker <br>to your drive unit via AUX</div>
</div>
<div class="rp-btn j-next">Next</div>
</div>
<div class="swiper-slide">
<div class="rp-block-01">
<h1>Hello</h1>
<div>I am ReSpeaker,<br> you can play music just like;</div>
<h2 style="font-size: 1.2em;">"Hi, ReSpeaker, play music"</h2>
</div>
<div class="rp-btn j-next">Try it</div>
</div>
<div class="swiper-slide">
<div class="rp-block-01">
<img src="img/rp_app_01.jpg" alt="ReSpeaker" class="rp-img-01">
</div>
<a href="home.html" class="rp-btn">Explore</a>
</div>
</div>
<!-- Add Pagination -->
<!-- <div class="swiper-pagination"></div> -->
</div>
<!-- Swiper JS -->
<script src="js/swiper.min.js"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper('.swiper-container', {
// pagination: '.swiper-pagination',
paginationClickable: true,
nextButton: '.j-next',
});
</script>
</body>
</html>