-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguidePage.html
118 lines (105 loc) · 2.51 KB
/
guidePage.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>导航页</title>
<!-- Link Swiper's CSS -->
<link rel="stylesheet" href="dist/css/swiper-3.3.1.min.css">
<!-- Demo styles -->
<style>
body {
background: #eee;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
color: #000;
margin: 0;
padding: 0;
}
.swiper-container {
width: 300px;
height: 500px;
margin: 20px auto;
}
.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;
}
.paOne {
background-color: burlywood;
}
.paSec {
background-color: darkgray;
}
.paTre {
background-color: brown;
}
.paFor {
background-color: lightsalmon;
}
.swiper-slide .logo {
width: 200px;
height: 200px;
display: block;
border: 1px solid #FFFFFF;
border-color: rgba(255, 255, 255, 0.5);
text-align: center;
line-height: 200px;
border-radius: 50%;
font-size: 40px;
color: #fff;
position: absolute;
top: 15%;
left: 50%;
margin-left: -100px;
text-decoration: none;
}
.swiper-slide .slip a{
font-size: 20px;
text-decoration: none;
}
</style>
</head>
<body>
<!-- Swiper -->
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide paOne">
<a class="logo" href="index.html#/ab">新闻</a>
<p class="slip"><a href="">-->跳过<--</a></p>
</div>
<div class="swiper-slide paSec">
<a class="logo" href="index.html#/ab">星座</a>
<p class="slip"><a href="">-->跳过<--</a></p>
</div>
<div class="swiper-slide paTre">
<a class="logo" href="index.html#/ab">笑话</a>
<p class="slip"><a href="">-->跳过<--</a></p>
</div>
<div class="swiper-slide paFor">
<a class="logo" href="index.html#/ab">股票</a>
<p class="slip"><a href="">-->跳过<--</a></p>
</div>
</div>
</div>
<!-- Swiper JS -->
<script src="dist/js/swiper-3.3.1.min.js"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper('.swiper-container');
</script>
</body>
</html>