-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtpl.html
103 lines (94 loc) · 2.2 KB
/
tpl.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>通用模板</title>
</head>
<body>
<style>
.fl{
float: left;
margin-left: 30px;
}
</style>
<div class="fl">
<h1>框架模板html:</h1>
<div class="content">
<textarea style="margin: 0px; width: 618px; height: 274px;">
<div class="carousel">
<div class="wrap group">
<div class="carousel-item" style="display: block;">
</div>
<div class="carousel-item">
</div>
</div>
<div class="carousel-control">
<div class="carousel-btns">
<div class="carousel-btn cur"></div>
<div class="carousel-btn"></div>
</div>
</div>
</div>
</textarea>
</div>
</div>
<div class="fl">
<h1>框架css:</h1>
<div class="content">
<textarea style="margin: 0px; width: 618px; height: 274px;">
.carousel {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
}
.carousel .wrap {
width: 10000px;
}
.carousel .carousel-item {
float: left;
display: none;
}
.carousel .carousel-control {
position: absolute;
bottom: 10px;
left: 0;
width: 100%;
}
.carousel .carousel-btns {
position: relative;
left: 50%;
margin-top: 13px;
float: left;
}
.carousel .carousel-btns .carousel-btn {
position: relative;
left: -50%;
width: 15px;
height: 15px;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
background-color: #fff;
box-sizing: border-box;
border: 1px solid #e1e1e1;
float: left;
margin-left: 8px;
cursor: pointer;
}
.carousel .carousel-btns .carousel-btn.cur {
border: none;
background-color: #000;
}
</textarea>
</div>
</div>
<div class="fl">
<h1>调用方式</h1>
<div class="content">
参考例子
<a href="index.html">例子</a>
</div>
</div>
</body>
</html>