forked from mumuy/widget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
188 lines (187 loc) · 5.4 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>我的组件库</title>
<link rel="shortcut icon" href="/public/img/favicon.png">
<link rel="stylesheet" href="public/css/commont.css">
<style type="text/css">
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h3,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h3,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}
html{
height:100%;
}
body{
position: relative;
min-height:100%;
font-size:14px;
font-family: Tahoma, Verdana,"Microsoft Yahei";
color:#333;
}
a{
text-decoration: none;
color:#333;
}
header{
margin-bottom: 100px;
}
.container{
padding-bottom: 120px;
}
.main{
width:960px;
margin:0 auto;
}
footer{
position: absolute;
bottom: 0;
width: 100%;
height: 40px;
line-height: 40px;
z-index: 99;
}
.mod-head{
width: 960px;
padding-top: 120px;
margin: 0 auto 50px;
line-height: 1.2;
text-align: center;
}
.mod-head h1{
font-size: 48px;
}
.mod-head p{
font-size: 16px;
}
.mod-list{
text-align: center;
}
.mod-list li{
display: inline-block;
margin:0 5px;
}
.mod-list .btn{
display: block;
padding: 6px 12px;
background-color: #fff;
border: 1px solid #333;
border-radius: 3px;
color: #333;
transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.mod-list .btn:hover{
background-color: #333;
color:#fff;
}
.mod-content{
width:840px;
margin:0 10px 0 auto;
}
.mod-content ul{
overflow: hidden;
}
.mod-content li{
float: left;
width: 50%;
margin-bottom: 10px;
line-height: 20px;
}
.mod-content a:hover{
border-bottom: 1px dotted #666;
}
.mod-foot{
text-align: center;
padding:0 30px;
color:#999;
}
.mod-foot a{
color:#999;
}
::selection {
color: white;
background-color: #333;
}
</style>
</head>
<body>
<div class="wrapper">
<header>
<div class="mod-head">
<h1>我的Web组件库</h1>
<p>让前端开发快到飞起来~</p>
</div>
<div class="mod-list">
<ul>
<li><a class="btn" href="https://github.com/mumuy/widget" target="_blank">查看GitHub</a></li>
<li><a class="btn" href="https://github.com/mumuy/widget/zipball/master" target="_blank">下载 .zip</a></li>
<li><a class="btn" href="https://github.com/mumuy/widget/tarball/master" target="_blank">下载 .tar.gz</a></li>
</ul>
</div>
</header>
<div class="container">
<div class="main">
<div class="mod-content">
<ul>
<li>
<p><a class="hot" href="/widget/jquery-slider/" target="_blank">轮播</a><p>
<p>$(selector).slider(options,callback(api));</p>
</li>
<li>
<p><a href="/widget/jquery-tabs/" target="_blank">标签页</a></p>
<p>$(selector).tabs(options,callback(api));</p>
</li>
<li>
<p><a href="/widget/jquery-scrollbar/" target="_blank">滚动条</a></p>
<p>$(selector).scrollbar(options,callback(api));</p>
</li>
<li>
<p><a href="/widget/jquery-select/" target="_blank">下拉框</a></p>
<p>$(selector).select(options,callback(api));</p>
</li>
<li>
<p><a href="/widget/jquery-range/" target="_blank">滑动条</a></p>
<p>$(selector).range(options,callback(api));</p>
</li>
<li>
<p><a href="/widget/jquery-dialog/" target="_blank">对话框</a></p>
<p>$(selector).dialog(options,callback(api));</p>
</li>
<li>
<p><a href="/widget/jquery-countdown/" target="_blank">倒计时</a></p>
<p>$(selector).countdown(options,callback(api));</p>
</li>
<li>
<p><a href="/widget/jquery-imagezoom/" target="_blank">图片聚焦</a></p>
<p>$(selector).imagezoom(options);</p>
</li>
<li>
<p><a href="/widget/jquery-headroom/" target="_blank">浮动菜单</a></p>
<p>$(selector).imagezoom(options);</p>
</li>
<li>
<p><a href="/widget/jquery-calendar/" target="_blank">日历</a></p>
<p>$(selector).calendar(options);</p>
</li>
<li>
<p><a href="/widget/jquery-popup/" target="_blank">弹出层</a></p>
<p>$(selector).popup(options);</p>
</li>
<li>
<p><a href="/widget/jquery-suggestion/" target="_blank">搜索建议</a></p>
<p>$(selector).suggestion(options);</p>
</li>
<li>
<p><a href="/widget/jquery-accordion/" target="_blank">手风琴</a></p>
<p>$(selector).accordion(options,callback(api));</p>
</li>
</ul>
</div>
</div>
</div>
<footer>
<div class="mod-foot">
<p>Copyright © <a href="/">passer-by.com</a></p>
</div>
</footer>
</div>
</body>
</html>