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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>音乐网站</title>
<link rel="stylesheet" href="style.css">

</head>

<body>

<!-- 顶部栏-->
<div id="wrapper">
<h1><em><span lang="zh-cn">ACG</span></em> <span lang="zh-cn">漫音社</span></h1>
<div id="nav">
<ul>
<li><a href="">
<span lang="zh-cn" class="style1"><a href="index.html">首页</a></span></li>
<li><a href="">
<span lang="zh-cn" class="style1"><a href="index.html">ACG音乐</a></span></li>
<li><a href="">
<span lang="zh-cn" class="style1"><a href="index.html">ACG图片</a></span></li>
<li>
<span lang="zh-cn" class="style1"><a href="index.html">ACG动漫</a></span></li>
<li>
<span lang="zh-cn" class="style1"><a href="index.html">ACG游戏</a></span></li>
</ul>
</div>

<!-- 轮播图 -->
<div class="box">
<ul id="imglist">
<li><img src="http://ww4.sinaimg.cn/mw690/67d25024gw1fb5hbjl32jj21hc0u01dz.jpg" alt=""></li>
<li><img src="https://i0.hdslb.com/bfs/article/d5a4fca3a0bb01fac4952816a383b545ffddb21a.jpg@942w_531h_progressive.webp" alt=""></li>
<li><img src="https://i0.hdslb.com/bfs/article/cf479ac2e3b952942395aa48ecd82ea696c7acb7.jpg@942w_671h_progressive.webp" alt=""></li>
<li><img src="https://i0.hdslb.com/bfs/article/1311807553b9c9e715c22ed19997b77f7783a0fb.jpg@942w_524h_progressive.webp" alt=""></li>
<li><img src="https://i0.hdslb.com/bfs/article/1463efdd861afcab99dc3925f6c7089c85b1a860.jpg@942w_531h_progressive.webp" alt=""></li>
</ul>

<ul id="btnlist">
<li class="btn active">1</li>
<li class="btn">2</li>
<li class="btn">3</li>
<li class="btn">4</li>
<li class="btn">5</li>
</ul>
</div>
<!-- 主内容区域 -->
<div class="container-sm box">
<!-- 主内容 -->
<div class="main">
<div class="main-wrap">
<div class="content-box">
<!-- 热门推荐 -->
<div class="hot-recommand">
<div class="content-header">
<h2><i class="fa fa-music red"></i>热门推荐</h2>
<div class="tab">
<a href="category/piano">音乐</a>
<span class="line">|</span>
<a href="category/guitar">图片</a>
<span class="line">|</span>
<a href="category/cartoon">动漫</a>
<span class="line">|</span>
<a href="category/elect">游戏</a>
</div>
<!--<span class="more"><a href="#">更多</a></span>-->
</div>
<ul class="music-list clearfix">
<li>
<div class="u-cover">
<img src="http://p3.music.126.net/fNtMX44fvaGByURP0AbOZQ==/836728348761063.jpg">
<a title="Refrain - Anan Ryoko" href="./music/22712173.html" class="msk"></a>
</div>
<p class="dec">
<a title="Refrain - Anan Ryoko" href="./music/22712173.html">Refrain</a>
</p>
<div class="author">HaPBoy</div>
</li>
<li>
<div class="u-cover">
<img src="http://p4.music.126.net/ap7KvRE0-V4kfThDVVor9A==/18777459579736085.jpg">
<a title="風の住む街 - 磯村由纪子" href="./music/586299.html" class="msk"></a>
</div>
<p class="dec">
<a title="風の住む街 - 磯村由纪子" href="./music/586299.html">風の住む街</a>
</p>
<div class="author">Hapon</div>
</li>
<li>
<div class="u-cover">
<img src="http://p3.music.126.net/hNJFmhHzaGxYYwVbQbALNw==/79164837215733.jpg">
<a title="夜的钢琴曲五 - 石进" href="./music/149297.html" class="msk"></a>
</div>
<p class="dec">
<a title="夜的钢琴曲五 - 石进" href="./music/149297.html">夜的钢琴曲五</a>
</p>
<div class="author">超级无敌帅气苗</div>
</li>
<li>
<div class="u-cover">
<img src="http://p3.music.126.net/l5-9FCPKx9xrUtzyKCMPPw==/81363860481074.jpg">
<a title="流れ行く云 - 岸部眞明" href="./music/441532.html" class="msk"></a>
</div>
<p class="dec">
<a title="流れ行く云 - 岸部眞明" href="./music/441532.html">流れ行く云</a>
</p>
<div class="author">Hapon</div>
</li>
<li>
<div class="u-cover">
<img src="http://p3.music.126.net/N0b8fzm7vl6tkj1Rfqa3hQ==/794946906935600.jpg">
<a title="Remember - 7AND5" href="./music/2116537.html" class="msk"></a>
</div>
<p class="dec">
<a title="Remember - 7AND5" href="./music/2116537.html">Remember</a>
</p>
<div class="author">HaPBoy</div>
</li>
<li>
<div class="u-cover">
<img src="http://p4.music.126.net/Kcxcv0cfsdAx30HZ_6tDGQ==/827932255715549.jpg">
<a title="A Little Story - Valentin" href="./music/857896.html" class="msk"></a>
</div>
<p class="dec">
<a title="A Little Story - Valentin" href="./music/857896.html">A Little Story</a>
</p>
<div class="author">LoveMiao</div>
</li>
<li>
<div class="u-cover">
<img src="http://p3.music.126.net/P1ac-TWkFzjDqcvl5_oK7Q==/881808325476577.jpg">
<a title="Flower Dance - DJ OKAWARI" href="./music/406238.html" class="msk"></a>
</div>
<p class="dec">
<a title="Flower Dance - DJ OKAWARI" href="./music/406238.html">Flower Dance</a>
</p>
<div class="author">HaPBoy</div>
</li>
<li>
<div class="u-cover">
<img src="http://p4.music.126.net/8dzD62VK8jLDbhEqkmpIAg==/18277181788626198.jpg">
<a title="Faded - Alan Walker" href="./music/36990266.html" class="msk"></a>
</div>
<p class="dec">
<a title="Faded - Alan Walker" href="./music/36990266.html">Faded</a>
</p>
<div class="author">HaPBoy</div>
</li>
</ul>
</div>
<!-- 分类榜单 -->
<div class="category">
<div class="content-header">
<h2><i class="fa fa-music red"></i>分类榜单</h2>
</div>
<div class="row">
<div class="category-music-list">
<div class="category-header">
🎹 钢琴
</div>
<ul>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">1</span>
<a href="./music/22712173.html" title="Refrain">Refrain</a>
</div>
</div>
<div class="info">
<span class="date">12-26</span>
<span class="avatar"><img
src="./storage/avatar/18.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">2</span>
<a href="./music/586299.html" title="風の住む街">風の住む街</a>
</div>
</div>
<div class="info">
<span class="date">12-20</span>
<span class="avatar"><img
src="./storage/avatar/10.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">3</span>
<a href="./music/357126.html" title="Tassel">Tassel</a>
</div>
</div>
<div class="info">
<span class="date">12-25</span>
<span class="avatar"><img
src="./storage/avatar/25.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">4</span>
<a href="./music/139730.html" title="安静的午后">安静的午后</a>
</div>
</div>
<div class="info">
<span class="date">11-17</span>
<span class="avatar"><img
src="./storage/avatar/5.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">5</span>
<a href="./music/139774.html" title="The truth that you leave">The truth that you leave</a>
</div>
</div>
<div class="info">
<span class="date">12-13</span>
<span class="avatar"><img
src="./storage/avatar/24.jpg"></span>
</div>
</li>
</ul>
</div>
<div class="category-music-list">
<div class="category-header">
🎸 吉他
</div>
<ul>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">1</span>
<a href="./music/22822602.html" title="風の詩">風の詩</a>
</div>
</div>
<div class="info">
<span class="date">11-12</span>
<span class="avatar"><img
src="./storage/avatar/20.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">2</span>
<a href="./music/709386.html" title="晴れ 时どき 雪">晴れ 时どき 雪</a>
</div>
</div>
<div class="info">
<span class="date">11-22</span>
<span class="avatar"><img
src="./storage/avatar/3.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">3</span>
<a href="./music/22688487.html" title="風見鶏">風見鶏</a>
</div>
</div>
<div class="info">
<span class="date">12-23</span>
<span class="avatar"><img
src="./storage/avatar/1.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">4</span>
<a href="./music/441552.html" title="奇迹の山">奇迹の山</a>
</div>
</div>
<div class="info">
<span class="date">12-22</span>
<span class="avatar"><img
src="./storage/avatar/2.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">5</span>
<a href="./music/441532.html" title="流れ行く云">流れ行く云</a>
</div>
</div>
<div class="info">
<span class="date">12-21</span>
<span class="avatar"><img
src="./storage/avatar/6.jpg"></span>
</div>
</li>
</ul>
</div>
</div>
<div class="row">
<div class="category-music-list">
<div class="category-header">
🍡 动漫
</div>
<ul>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">1</span>
<a href="./music/426341675.html" title="秒速五厘米">秒速五厘米</a>
</div>
</div>
<div class="info">
<span class="date">11-23</span>
<span class="avatar"><img
src="./storage/avatar/12.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">2</span>
<a href="./music/22707001.html" title="白詰草">白詰草</a>
</div>
</div>
<div class="info">
<span class="date">11-14</span>
<span class="avatar"><img
src="./storage/avatar/1.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">3</span>
<a href="./music/761323.html" title="鸟の诗 ~">鸟の诗 ~</a>
</div>
</div>
<div class="info">
<span class="date">12-26</span>
<span class="avatar"><img
src="./storage/avatar/4.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">4</span>
<a href="./music/528283.html" title="桜花抄">桜花抄</a>
</div>
</div>
<div class="info">
<span class="date">11-25</span>
<span class="avatar"><img
src="./storage/avatar/17.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">5</span>
<a href="./music/442454.html" title="人生的回转木马">人生的回转木马</a>
</div>
</div>
<div class="info">
<span class="date">12-17</span>
<span class="avatar"><img
src="./storage/avatar/9.jpg"></span>
</div>
</li>
</ul>
</div>
<div class="category-music-list">
<div class="category-header">
⚡️ 电子
</div>
<ul>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">1</span>
<a href="./music/28828074.html" title="Because of You">Because of You</a>
</div>
</div>
<div class="info">
<span class="date">11-23</span>
<span class="avatar"><img
src="./storage/avatar/17.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">2</span>
<a href="./music/29207817.html" title="Easy Breeze">Easy Breeze</a>
</div>
</div>
<div class="info">
<span class="date">11-12</span>
<span class="avatar"><img
src="./storage/avatar/14.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">3</span>
<a href="./music/16345145.html" title="Levels - Radio Edit">Levels - Radio Edit</a>
</div>
</div>
<div class="info">
<span class="date">12-13</span>
<span class="avatar"><img
src="./storage/avatar/5.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">4</span>
<a href="./music/2116537.html" title="Remember">Remember</a>
</div>
</div>
<div class="info">
<span class="date">11-25</span>
<span class="avatar"><img
src="./storage/avatar/2.jpg"></span>
</div>
</li>
<li class="music-list-item">
<div class="title">
<div class="title_wrap">
<span class="rank">5</span>
<a href="./music/36990266.html" title="Faded">Faded</a>
</div>
</div>
<div class="info">
<span class="date">12-24</span>
<span class="avatar"><img
src="./storage/avatar/10.jpg"></span>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>

<!-- 侧边栏 -->
<div class="sidebar" style="min-height: 1094px">
<div class="right-module">
<h4>最新单曲</h4>
<ul class="new-artist-songs">
<li class="artist-song">
<div class="avatar">
<img src="http://superjason.space/storage/avatar/0.jpg">
</div>
<div class="info">
<h3>Refrain</h3>
<p>HaPBoy / <span>1595</span>次播放</p>
</div>
<a href="#" title="Refrain" class="cover-link"></a>
</li>
<li class="artist-song">
<div class="avatar">
<img src="http://superjason.space/storage/avatar/4.jpg">
</div>
<div class="info">
<h3>A Little Story</h3>
<p>LoveMiao / <span>1052</span>次播放</p>
</div>
<a href="#" title="A Little Story" class="cover-link"></a>
</li>
<li class="artist-song">
<div class="avatar">
<img src="http://superjason.space/storage/avatar/3.jpg">
</div>
<div class="info">
<h3>晴れ 时どき 雪</h3>
<p>Annie雀 / <span>349</span>次播放</p>
</div>
<a href="#" title="晴れ 时どき 雪" class="cover-link"></a>
</li>
<li class="artist-song">
<div class="avatar">
<img src="http://superjason.space/storage/avatar/14.jpg">
</div>
<div class="info">
<h3>Easy Breeze</h3>
<p>Hannah / <span>420</span>次播放</p>
</div>
<a href="#" title="Easy Breeze" class="cover-link"></a>
</li>
<li class="artist-song">
<div class="avatar">
<img src="http://superjason.space/storage/avatar/5.jpg">
</div>
<div class="info">
<h3>安静的午后</h3>
<p>Wing / <span>1356</span>次播放</p>
</div>
<a href="#" title="安静的午后" class="cover-link"></a>
</li>
</ul>
</div>
<div class="right-module">
<h4>热门单曲</h4>
<ul class="new-artist-songs">
<li class="artist-song">
<div class="avatar">
<img src="http://superjason.space/storage/avatar/20.jpg">
</div>
<div class="info">
<h3>風の詩</h3>
<p>苗^v^ / <span>1167</span>次播放</p>
</div>
<a href="#" title="風の詩" class="cover-link"></a>
</li>
<li class="artist-song">
<div class="avatar">
<img src="http://superjason.space/storage/avatar/0.jpg">
</div>
<div class="info">
<h3>Remember</h3>
<p>HaPBoy / <span>1008</span>次播放</p>
</div>
<a href="#" title="Remember" class="cover-link"></a>
</li>
<li class="artist-song">
<div class="avatar">
<img src="http://superjason.space/storage/avatar/9.jpg">
</div>
<div class="info">
<h3>夜的钢琴曲五</h3>
<p>超级无敌帅气苗 / <span>864</span>次播放</p>
</div>
<a href="#" title="夜的钢琴曲五" class="cover-link"></a>
</li>
<li class="artist-song">
<div class="avatar">
<img src="http://superjason.space/storage/avatar/00.jpg">
</div>
<div class="info">
<h3>奇迹の山</h3>
<p>Hapon / <span>838</span>次播放</p>
</div>
<a href="#" title="奇迹の山" class="cover-link"></a>
</li>
<li class="artist-song">
<div class="avatar">
<img src="http://superjason.space/storage/avatar/17.jpg">
</div>
<div class="info">
<h3>Because of You</h3>
<p>Octobse_Idy / <span>821</span>次播放</p>
</div>
<a href="#" title="Because of You" class="cover-link"></a>
</li>
</ul>
</div>
</div>
</div>
<!-- 底部版权 -->
<footer>
<div class="container">
<div class="copyright">
<p>limuhuaxia © <span class="update-year">2022</span> For learning use</p>
</div>
</div>
</footer>

</body>
<script src="script.js"></script>
</html>

CSS

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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
* {
margin: 0px;
padding: 0px;
}
/*warpper*/
#wrapper {
width: 100%;
height: 100px;
position: relative;
}

h1 {
padding: 25px 0 0 30px;
font: 32px "arial black", arial, sans-serif;
color: #151515;
background-color: #71C7ED;
}

h1 em {
color: #FFF;
font-weight: bold;
font-style: normal;
position: relative;
top: -4px;
}
/* nav */
#nav {
position: absolute;
top: -15px;
left: 335px;
width: 600px;
}
#nav li {
float: left;

list-style: none;
padding-left: 30px;
padding-right: 20px;
padding-top: 45px;
line-height: 1.1;
}
#nav span {
display: block;
font-size: 16px;
}
#nav a {
color: #FFF;
font-size: 16px;
font-weight: bold;
text-decoration: none;
}

/*轮播图-box*/
img{
width: 980px;
height: 324px;
display: block;
border-radius: 5px;
}

.box {
height: 324px;
width: 980px;
margin: 30px auto;
border: 1px #ccc double;
position: relative;
left: 0px;
overflow:hidden;
border-radius: 5px;
}

#imglist {
width: 4900px;
height: 324px;
list-style: none;
position: absolute;
left: 0px;
}

#imglist li {
float: left;
}

#btnlist{
width: 360px;
left: 400px;
top: 290px;
position:absolute;
list-style: none;
}

#btnlist li{
color: #FFFFFF;
text-align: center;
float: left;
width: 20px;
height: 20px;
margin-left:10px;
border-radius: 50%;
background-color:rgba(0,0,0, 0.1);
}

/* Main */
.container-sm{
width: 980px;
height: 1096px;
border-radius: 5px;
}
.main, .sidebar {
}

.main {
width: 100%;
float: left;
margin-right: -250px;
box-sizing: border-box;
}

.main-wrap {
margin-right: 250px;
}

.content-box {
padding: 20px 30px 30px;
}

.content-header {
overflow: hidden;
height: 34px;
padding: 0 10px;
background-position: -225px -156px;
border-bottom: 2px solid #C10D0C;
line-height: 28px;
}

.content-header h2 {
float: left;
font-size: 18px;
color: #333;
font-weight: 400;
}

.content-header .tab {
float: left;
font-size: 12px;
margin-left: 20px;
}

.content-header a {
color: #666;
transition: color .1s ease-in-out;
}

.content-header .tab a:hover {
color: #000;
}

.content-header .tab .line {
margin: 0 10px;
color: #ccc;
}

.content-header .more {
font-size: 12px;
float: right;
}
a{
text-decoration: none;
}
/* Music List */

.music-list {
margin: 20px 0 0 -36px;
}

.music-list li {
float: left;
display: inline-block;
width: 140px;
overflow: hidden;
line-height: 1.4;

height: 224px;
padding-left: 36px;
font-size: 14px;
transition: color .1s ease-in-out;
}

.music-list li .u-cover {
width: 140px;
height: 140px;
overflow: hidden;
position: relative;
}

.music-list li .u-cover img {
width: 140px;
height: 140px;
transform: scale(1);
transition: transform .75s;
}

.music-list li .u-cover:hover img {
transform: scale(1.07);
transition: all .75s cubic-bezier(0, 1, .75, 1);
}

.music-list li .u-cover .msk {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .3);
}

.music-list li .u-cover:hover .msk {
display: block;
}

.music-list li .dec {
margin: 8px 0 3px;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}

.music-list li .author {
color: #999;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
height: 22px;
}

.music-list li .author a {
color: #999;
}

.music-list li .author a:hover {
color: #B72712;
}

/* Sidebar */

.sidebar {
width: 250px;
float: right;
box-sizing: border-box;
border-left: 1px solid rgba(0, 0, 0, .1);
}

.sidebar h4 {
margin: 0;
height: 55px;
overflow: hidden;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;;
background: #f5f5f5;
font-size: 16px;
color: #757575;
line-height: 60px;
padding-left: 31px;
font-weight: 400;
-webkit-box-shadow: 0 1px 1px 1px #F6F6F6;
-moz-box-shadow: 0 1px 1px 1px #F6F6F6;
box-shadow: 0 1px 1px 1px #F6F6F6;
background-image: -moz-linear-gradient(top, #fafafa, #f4f4f4);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#f4f4f4));
}

.sidebar .right-module {
background: #fff;
overflow: hidden;
}

.sidebar .right-module:first-child h4 {
border-top: none;
}

/* Artist Song */

.artist-song:before {
content: '';
width: 100%;
height: 100%;
box-sizing: border-box;
border-top: 1px solid #f2f2f2;
border-top: 1px solid rgba(0, 0, 0, .1);
position: absolute;
top: 0;
left: 0;
z-index: 1;
pointer-events: none;
}

.artist-song:first-child:before {
border-top: none;
}

.artist-song {
position: relative;
padding: 16px 14px;
list-style: none;
color: #737373;
overflow: hidden;
}

.artist-song:hover {
box-shadow: 0 0 38px rgba(0, 0, 0, .08) inset;
-webkit-transition: all .15s ease;
transition: all .15s ease;
}

.artist-song h3 {
color: #737373;
}

.artist-song .cover-link {
display: block;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
z-index: 4;
}

.artist-song .avatar {
float: left;
width: 48px;
height: 48px;
}

.artist-song .avatar img {
border-radius: 50%;
width: 48px;
height: 48px;
overflow: hidden;
line-height: 48px;
text-align: center;
}

.artist-song .info {
margin-left: 62px;
}

.artist-song .info h3 {
display: block;
margin: 0;
line-height: 28px;
font-weight: 400;
font-size: 14px;
color: #424242;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.artist-song .info p {
margin: 0;
font-size: 12px;
line-height: 20px;
color: #B2B2B2;
}

/* Footer */

footer {
margin-top: 29px;
background: #fcfcfc;
border-top: 1px solid #e6e6e6;
color: #757575;
padding: 20px 0;
font-size: 0.6875em;
}

footer .copyright p {
margin: 0;
}

footer a {
color: #757575;
}

/* Category Music List */

.category .row {
margin-left: -20px;
}

.category-music-list {
float: left;
width: 324px;
margin: 20px 0 0 20px;
background: #fff;
position: relative;
z-index: 0;
overflow: hidden;
border-radius: 5px;
border: 1px solid rgba(0, 0, 0, .14);
box-sizing: border-box;
}

.category-music-list .category-header {
border-bottom: 1px solid rgba(0, 0, 0, .14);
background-color: #fafafa;
height: 50px;
line-height: 50px;
padding-left: 20px;
box-sizing: border-box;
font-size: 18px;
letter-spacing: 1px;
background-image: -webkit-linear-gradient(top, #fff, #fafafa);
background-image: linear-gradient(180deg, #fff, #fafafa);
color: #666;
}

.category-music-list ul {
font-size: 14px;
font-weight: 400;
color: #737373;
}

.category-music-list .music-list-item {
padding: 0 12px;
height: 36px;
line-height: 36px;
position: relative;
color: #737373;
overflow: hidden;
vertical-align: middle;
}

.category-music-list .music-list-item:hover {
box-shadow: 0 0 30px rgba(0, 0, 0, .08) inset;
-webkit-transition: all .15s ease;
transition: all .15s ease;
}

.category-music-list .music-list-item:before {
content: '';
width: 100%;
height: 100%;
box-sizing: border-box;
border-top: 1px solid #f2f2f2;
position: absolute;
top: 0;
left: 0;
z-index: 1;
pointer-events: none;
}

.category-music-list .music-list-item:first-child:before {
border: none;
}

.category-music-list .music-list-item .title {
float: left;
margin-right: -68px;
width: 100%;
}

.category-music-list .music-list-item .title_wrap {
margin-right: 68px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.category-music-list .music-list-item .title .rank {
padding-right: 4px;
color: #B2B2B2;
font-weight: normal;
}

.category-music-list .music-list-item .info {
float: right;
font-size: 12px;
overflow: hidden;
color: #B2B2B2;
}

.category-music-list .music-list-item .info span {
margin-right: 6px;
}

.category-music-list .music-list-item .info span:last-child {
margin-right: 0;
}

.category-music-list .music-list-item .info .date {
vertical-align: middle;
}

.category-music-list .music-list-item .info .avatar {
width: 20px;
}

.category-music-list .music-list-item .info .avatar img {
width: 20px;
height: 20px;
border-radius: 50%;
vertical-align: middle;
}

/* Article */

.article .title {
border-left: 3px solid #B72712;
padding-left: 14px;
margin: 10px 0 20px;
}

.article .title h2 {
color: #333;
font-size: 22px;
font-weight: 400;
margin: 0;
}

.article .title .info {
font-size: 12px;
color: #888;
}

.article .content p {
font-size: 14px;
line-height: 26px;
margin: 0 0 14px;
word-break: break-all;
color: rgb(102, 102, 102);
}
/*footer*/
.container{
text-align: center;
}

JavaScript

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
// JavaScript Document
var index = 0;
var imglist = document.getElementById('imglist');
var btnlist = document.getElementById('btnlist');
var arrbtn = btnlist.getElementsByTagName('li');

function btnchange(index) {
for (var i = 0; i < 5; i++) {
if (i == index) {
arrbtn[i].style.backgroundColor = 'pink';
}
else {
arrbtn[i].style.backgroundColor = 'rgba(0,0,0,0.2)';
}
}
}
for (var i = 0; i < 5; i++) {
arrbtn[i].num = i;
arrbtn[i].onmouseover = function () {
index = this.num;
imglist.style.left = index * (-980) + 'px';
clearInterval(t);
btnchange(index);
this.onmouseout = function () {
t = setInterval(imgchange, 5000);
}
}

}

function imgchange() {
if (index == 4)
index = -1;
index++;
imglist.style.left = index * (-980) + 'px';
btnchange(index);
}
var t = setInterval(imgchange, 5000);