小米布局(浮动)

image.png
common.css:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.mi_wrapper {
width: 1226px;
margin: 0 auto;
}

.kl_wrapper {
width: 1100px;
margin: 0 auto;
}

.clear_fix::after {
content: "";
display: block;
clear: both;

height: 0;
visibility: hidden;
}

.clear_fix {
*zoom: 1;
}

reset.css:

1
2
3
4
5
6
7
8
9
10
11
12
13
body, h1, h2, h3, ul, li {
margin: 0;
padding: 0;
}

a {
text-decoration: none;
color: #333;
}

ul, li {
list-style: none;
}
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
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css//common.css">
<style>
.dress {
margin-top: 20px;
}

.dress .header {
height: 58px;
line-height: 58px;
}

.dress .header .left_area {
float: left;
}

.dress .header .right_area {
float: right;
font-size: 14px;
}

.dress .header .item {
margin-left: 20px;

}

.dress .header .right_area .item:hover,
.dress .header .right_area .item.active {
padding: 3px 0;
border-bottom: 2px solid red;
color: red;
}

.dress .list {
margin-right: -14px;
}

.dress .list .item {
float: left;
width: 234px;
height: 300px;
margin-right: 14px;
margin-bottom: 14px;
background-color: #f00;
transition: all 0.3s ease-in;
}

.dress .list .item.item1 {
height: 614px;
}

.dress .list .item.item9,
.dress .list .item.item10 {
height: 143px;
}

.dress .list .item:hover {
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
transform: translateY(-2px);
}

.dress .list .item a {
display: inline-block;
width: 100%;
height: 100%;
}
</style>
</head>

<body>
<div class="mi_wrapper dress">
<div class="header clear_fix">
<div class="left_area">
<h3 class="title">智能穿戴</h3>
</div>
<div class="right_area">
<a class="item active hot" href="#">热门</a>
<a class="item info" href="#">穿戴</a>
</div>
</div>
<div>
<ul class="list">
<li class="item item1"><a href="#">1</a></li>
<li class="item item2"><a href="#">2</a></li>
<li class="item item3"><a href="#">3</a></li>
<li class="item item4"><a href="#">4</a></li>
<li class="item item5"><a href="#">5</a></li>
<li class="item item6"><a href="#">6</a></li>
<li class="item item7"><a href="#">7</a></li>
<li class="item item8"><a href="#">8</a></li>
<li class="item item9"><a href="#">9</a></li>
<li class="item item10"><a href="#">10</a></li>
</ul>
</div>
</div>
</body>

</html>

网易云布局(flex)

导航栏

image.png
common.css

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
body {
font: 12px Arial, Helvetica, sans-serif;
}

.wrapper_01 {
width: 1100px;
margin: 0 auto;
}

.topbar_sprite {
display: inline-block;
background-image: url(../images/topbar_sprite.png);
}

.topbar_icon_hot {
width: 28px;
height: 19px;
background-position: -190px 0;
}

reset.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
body, h1, h2, h3, ul, li, p {
margin: 0;
padding: 0;
}

a {
text-decoration: none;
color: #000;
outline: none;
}

ul, li {
list-style: none;
}

input {
outline: none;
border: none;
}

img {
vertical-align: top;
}

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
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/common.css">
<style>
.top {
height: 70px;
background-color: #242424;
box-sizing: border-box;
border-bottom: 1px solid #000;
}

.topbar {
display: flex;
justify-content: space-between;
height: 69px;
line-height: 69px;
}

.topbar .bar-left {
display: flex;
}

.topbar .bar-left .logo {
background-image: url(./images/topbar_sprite.png);
}

.top .topbar .logo a {
display: block;
width: 157px;
margin-right: 20px;
text-indent: -9999px;
}

.topbar .bar-left .list {
display: flex;
}

.topbar .bar-left .list .item {
position: relative;
display: block;
padding: 0 18px;
font-size: 14px;
color: #ccc;
}

.topbar .bar-left .list .item:hover,
.topbar .bar-left .list .item.active {
color: #fff;
background-color: #000;
}

.topbar .bar-left .list .item.active::after {
content: "";
position: absolute;
width: 12px;
height: 7px;
bottom: -2px;
left: 0;
right: 0;
margin: 0 auto;
background: url(./images/topbar_sprite.png) -226px 0;
}

.topbar .bar-left .item .icon-hot {
position: absolute;
width: 28px;
height: 19px;
top: 14px;
right: -18px;
background: url(./images/topbar_sprite.png) -190px 0;
}

.topbar .bar-right {
display: flex;
align-items: center;
padding-right: 20px;
}

.topbar .bar-right .login a {
color: #787878;
}

.topbar .bar-right .login:hover a {
color: #ccc;
}

.topbar .bar-right .login a:hover {
color: #787878;
text-decoration: underline;
}

.topbar .bar-right .anthor a {
display: inline-block;
width: 90px;
height: 32px;
line-height: 32px;
margin: 0 20px;
color: #ccc;
text-align: center;
box-sizing: border-box;
border: 1px solid #4F4f4f;
border-radius: 20px;
}

.topbar .bar-right .anthor a:hover {
color: #fff;
border-color: #fff;
}

.topbar .bar-right .search {
display: flex;
justify-content: flex-end;
align-items: center;
width: 158px;
height: 32px;
box-sizing: border-box;
padding-right: 10px;
border-radius: 30px;
background: #fff url(./images/topbar_sprite.png) 0 -99px;
}

.topbar .bar-right .search input {
font-size: 12px;
width: 118px;
}

.nav {
height: 35px;
line-height: 35px;
background-color: #c20c0c;
box-sizing: border-box;
border-bottom: 1px solid #a40011;
}

.navbar {
box-sizing: border-box;
padding-left: 180px;
}

.navbar .list {
display: flex;
}

.navbar .list .item {
display: inline-block;
}

.navbar .list .item span {
display: inline-block;
padding: 0 13px;
margin: 7px 17px;
height: 20px;
line-height: 21px;
color: #fff;
border-radius: 20px;
}

.navbar .list .item:hover span,
.navbar .list .item.active span {
background-color: #9b0909;
}
</style>
</head>

<body>
<div class="top">
<div class="topbar wrapper_01">
<div class="bar-left">
<h1 class="logo"><a href="#">网易云音乐</a></h1>
<ul class="list">
<li><a class="item active" href="#">发现音乐</a></li>
<li><a class="item" href="#">我的音乐</a></li>
<li><a class="item" href="#">关注</a></li>
<li><a class="item" href="#">商城</a></li>
<li><a class="item" href="#">音乐人</a></li>
<li><a class="item" href="#">下载客户端<i class="icon-hot"></i></a></li>
</ul>
</div>
<div class="bar-right">
<div class="search">
<input type="text" placeholder="音乐/视频/电台/用户">
</div>
<div class="anthor"><a href="#">创作者中心</a></div>
<div class="login"><a href="#">登录</a></div>
</div>
</div>

</div>
<div class="nav">
<div class="navbar wrapper_01">
<ul class="list">
<li><a href="#" class="item active"><span>推荐</span></a></li>
<li><a href="#" class="item"><span>排行榜</span></a></li>
<li><a href="#" class="item"><span>歌单</span></a></li>
<li><a href="#" class="item"><span>主播电台</span></a></li>
<li><a href="#" class="item"><span>歌手</span></a></li>
<li><a href="#" class="item"><span>新碟上架</span></a></li>
</ul>
</div>
</div>
</body>

</html>

轮播图

image.png

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
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/common.css">
<style>
.banner {
height: 285px;
margin-top: 30px;
background: url(./images/banner_bg_02.jpeg) center center / 6000px;
}

.banner .area {
position: relative;
height: 285px;
background-color: orange;
}

.banner .area-left {
position: relative;
width: 730px;

}

.banner .area-left .img-list {
display: flex;
overflow: hidden;
}

.banner .area-left .img-list li {
flex-shrink: 0;
width: 100%;
}

.banner .area-left .img-list .item {
display: block;
}

.banner .area-left .img-list .item img {
width: 100%;
}

/* */
.banner .area-left .dots-list {
position: absolute;
bottom: 5px;
left: 0;
right: 0;
margin: 0 auto;
display: flex;
justify-content: center;
}

.banner .area-left .dots-list .item li {
margin: 0 2px;
}

.banner .area-left .dots-list .item {
display: inline-block;
width: 20px;
height: 20px;
background: url(./images/banner_sprite.png) 3px -343px;
}

.banner .area-left .dots-list .item.active,
.banner .area-left .dots-list .item:hover {
background-position: -16px -343px;
}

.banner .area-right {
position: absolute;
right: -1px;
top: 0;
bottom: 0;
width: 254px;
background: url(./images/download_sprite.png);
}

.banner .area-right .download {
display: block;
width: 215px;
height: 56px;
margin: 186px 0 0 19px;
text-indent: -9999px;
}

.banner .area-right .download:hover {
background: url(./images/download_sprite.png) 0 -290px;
}

.banner .area-right .desc {
margin-top: 10px;
text-align: center;
color: #ccc;
}

/*
*/
.banner .area .control {
position: absolute;
top: 0;
bottom: 0;
width: 37px;
height: 63px;
margin: auto 0;
background-image: url(./images/banner_sprite.png);
}

.banner .area .control.left {
left: -70px;
background-position: 0 -360px;
}

.banner .area .control.left:hover {
background-position: 0 -430px;
}

.banner .area .control.right {
right: -70px;
background-position: 0 -508px;
}

.banner .area .control.right:hover {
background-position: 0 -578px;
}
</style>
</head>

<body>
<div class="banner">
<div class="area wrapper_03">
<div class="area-left">
<ul class="img-list">
<li><a class="item" href="#"><img src="./images/banner_02.jpeg" alt=""></a></li>
<li><a class="item" href="#"><img src="./images/banner_02.jpeg" alt=""></a></li>
<li><a class="item" href="#"><img src="./images/banner_02.jpeg" alt=""></a></li>
<li><a class="item" href="#"><img src="./images/banner_02.jpeg" alt=""></a></li>
</ul>
<ul class="dots-list">
<li><a class="item active" href="#"></a></li>
<li><a class="item" href="#"></a></li>
<li><a class="item" href="#"></a></li>
<li><a class="item" href="#"></a></li>
<li><a class="item" href="#"></a></li>
<li><a class="item" href="#"></a></li>
<li><a class="item" href="#"></a></li>
<li><a class="item" href="#"></a></li>
<li><a class="item" href="#"></a></li>
<li><a class="item" href="#"></a></li>
</ul>
</div>
<div class="area-right">
<a class="download" href="#"></a>
<p class="desc">士大夫撒旦浪费多少了解房贷首付</p>
</div>
<a class="control left" href="#"></a>
<a class="control right" href="#"></a>
</div>
</div>
</body>

</html>

主题布局

image.png

按钮设置

image.png

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
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/common.css">
<style>
body {
text-align: center;
padding-top: 50px;
}

.apply {
display: inline-block;
width: 210px;
height: 31px;
line-height: 31px;
text-align: center;
font-size: 12px;
font-weight: 700;
color: #000;
box-sizing: border-box;
border-radius: 4px;
background-color: #fff;
overflow: hidden;
background: url(./images/btn_sprite.png) right -100px no-repeat;
padding-right: 5px;
}

.apply>i {
display: block;
height: 31px;
background: url(./images/btn_sprite.png) 0 -59px;
padding-left: 3px;
}
</style>
</head>

<body>
<a class="apply" href="#">
<i>申请成为网易音乐人</i>
</a>
</body>

</html>

总代码

image.png

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
<!DOCTYPE html>
<html lang="zh-Ch">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/common.css">
<link rel="stylesheet" href="./css/header1.css">
<link rel="stylesheet" href="./css/area-right.css">
<style>
.area {
display: flex;
justify-content: space-between;
border: 1px solid #d3d3d3;
border-width: 0 1px;
background-image: url(./images/main_bg.png);
}

/* 左侧区域 */
.area .area-left {
width: 729px;
padding: 20px 20px 40px;
}

.recommend-section .list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 20px 2px;
}

.recommend-section .list .item {
width: 140px;
margin-bottom: 20px;
}


.recommend-section .list .item .top {
position: relative;
}

.recommend-section .list .item .top img {
/* 将图片下面的多出来的区域去除 */
vertical-align: top;
/* display: block; */
}

.recommend-section .list .item .top .cover {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;

background-image: url(./images/cover_sprite.png);
background-position: 0 0;
}

.recommend-section .list .item .top .info {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 27px;
padding-left: 10px;
line-height: 27px;

font-size: 12px;
color: #ccc;

background-image: url(./images/cover_sprite.png);
background-position: 0 -537px;
}

.recommend-section .list .item .top .info .icon-music {
position: relative;
top: 1px;
}

.recommend-section .list .item .top .info .count {
margin-left: 4px;
}

.recommend-section .list .item .top .info .icon-play {
position: absolute;
top: 0;
bottom: 0;
right: 10px;
margin: auto 0;

/* display: inline-block; */
/* width: 16px;
height: 17px; */
/* background-image: url(../images/music_sprite_02.png); */
/* background-position: 0 0; */
}


/* 底部的样式 */
.recommend-section .list .item .bottom {
display: block;
margin-top: 8px;
font-size: 14px;
}

.recommend-section .list .item .bottom:hover {
text-decoration: underline;
}

.iconall_sprite {
display: inline-block;
background-image: url(./images/iconall_sprite.png);
}

.iconall_sprite_redio {
background-position: -31px -658px;
width: 35px;
height: 15px;

}


/* 碟片 */
.disc-section .content {
height: 186px;
margin: 20px 0;
box-sizing: border-box;
border: 1px solid #d3d3d3;
}

.disc-section .content .inner {
position: relative;
height: 100%;
box-sizing: border-box;
padding: 0 20px;
border: 1px solid #fff;
background-color: #f5f5f5;
}

.disc-section .inner .roller {
display: flex;
height: 100%;
overflow: hidden;
}

.disc-section .inner .roller .list {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
flex-shrink: 0;
}

.disc-section .roller .list .item {
width: 118px;
height: 150px;
background: url(./images/main_sprite.png) no-repeat -260px 100px;
}

.disc-section .roller .list .item .album {
position: relative;
}

.disc-section .roller .list .item .cover {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: url(./images/cover_sprite.png) no-repeat 0 -570px;
}

.disc-section .roller .item .album .play {
display: none;
position: absolute;
right: 25px;
bottom: 5px;
width: 22px;
height: 22px;
background: url(./images/icon_sprite.png) 0 -85px;
}

.disc-section .roller .item .album:hover .play {
display: block;
}

.disc-section .roller .list .item a {
display: block;
margin-top: 5px;
padding-right: 10px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}

.disc-section .roller .list .item a:hover {
text-decoration: underline;
}

.disc-section .roller .list .item a.title {
color: #000;
}

.disc-section .roller .list .item a.anthor {
color: #666;
}

.disc-section .inner .control {
position: absolute;
width: 17px;
height: 17px;
top: 72px;
bottom: 0;
background-image: url(./images/main_sprite.png);
}

.disc-section .inner .control-left {
left: 2px;
background-position: -260px -75px;
}

.disc-section .inner .control-right {
right: 2px;
background-position: -320px -75px;
}



/* rank-section */
.rank-section .content {
display: flex;
height: 472px;
margin-top: 20px;
background: url(./images/rank_bg.png) no-repeat;
}

.rank-section .content .rank {
width: 230px;
}

.rank-section .content .rank .header {
display: flex;
height: 120px;
box-sizing: border-box;
padding: 20px 0 0 20px;
}

.rank-section .header .album {
position: relative;
width: 80px;
height: 80px;
}

.rank-section .header .album img {
width: 100%;
height: 100%;
}

.rank-section .header .album .cover {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
background: url(./images/cover_sprite.png) no-repeat -145px -57px;
}

.rank-section .info {
padding: 10px 0 0 12px;
}

.rank-section .info .operation {
margin-top: 12px;
}

.rank-section .header .info .btn {
display: inline-block;
width: 22px;
height: 22px;
background: url(./images/main_sprite.png) no-repeat;
}

.rank-section .header .info .btn.play {
background-position: -267px -205px;
}

.rank-section .header .info .btn.play:hover {
background-position: -267px -235px;
}

.rank-section .header .info .btn.favor {
background-position: -300px -205px;
margin-left: 8px;
}

.rank-section .header .info .btn.favor:hover {
background-position: -300px -235px;
}

.rank-section .rank .list .item {
display: flex;
height: 32px;
line-height: 32px;
padding-left: 12px;
padding-right: 12px;
}

.rank-section .rank .list .item .no {
width: 35px;
font-size: 16px;
color: #666;
text-align: center;
}

.rank-section .rank .list .item:nth-child(-n+3) .no {
color: #c10d0c;
}

.rank-section .rank .list .item .song {
flex: 1;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;

}

.rank-section .rank .list .item .song:hover {
text-decoration: underline;
}

.rank-section .rank .list .item .operation {
display: none;
align-items: center;
width: 82px;
justify-content: space-evenly;
}

.rank-section .rank .list .item:hover .operation {
display: flex;
}

.rank-section .rank .list .item .operation .btn {
width: 17px;
height: 17px;
background: url(./images/main_sprite.png) no-repeat;
}

.rank-section .rank .list .item .operation .btn.play {
background-position: -267px -268px;
}

.rank-section .rank .list .item .operation .btn.add {
background: url(./images/iconall_sprite.png) no-repeat;
background-position: 2px -698px;
}

.rank-section .rank .list .item .operation .btn.favor {
background-position: -297px -268px;
}

.rank-section .rank .list .more {
height: 32px;
line-height: 32px;
text-align: right;
padding-right: 32px;
}

.rank-section .rank .list .more:hover {
text-decoration: underline;
}
</style>
</head>

<body>
<div class="main">
<div class="area wrapper_02">
<div class="area-left">
<div class="recommend-section">
<div class="header_type_02">
<div class="head-left">
<h2 class="title">热门推荐</h2>
<ul class="keywords">
<li><a class="item" href="#">华语</a></li>
<li class="line">|</li>
<li><a class="item" href="#">流行</a></li>
<li class="line">|</li>
<li><a class="item" href="#">摇滚</a></li>
<li class="line">|</li>
<li><a class="item" href="#">民谣</a></li>
<li class="line">|</li>
<li><a class="item" href="#">电子</a></li>
</ul>
</div>
<div class="head-right">
<a class="more" href="#">更多</a>
</div>
</div>
<div class="list">
<div class="item">
<div class="top">
<img src="./images/recommend_album_01.jpeg" alt="音乐封面">
<a class="cover" href="#"></a>
<div class="info">
<i class="icon_sprite icon_sprite_music icon-music"></i>
<span class="count">62万</span>
<i class="icon_sprite icon_sprite_play_01 icon-play"></i>
</div>
</div>
<a class="bottom" href="#">
<i class="iconall_sprite iconall_sprite_radio"></i>
天气好的话,把耳机分给我一半吧
</a>
</div>
<div class="item">2</div>
<div class="item">3</div>
<div class="item">4</div>

</div>
</div>
<div class="disc-section">
<div class="header_type_02">
<div class="head-left">
<h2 class="title">新碟上架</h2>
</div>
<div class="head-right">
<a class="more" href="#">更多</a>
</div>
</div>
<div class="content">
<div class="inner">
<div class="roller">
<ul class="list">
<li class="item">
<div class="album">
<img src="./images/newdisc_album_01.jpeg" alt="">
<a class="cover" href="#"></a>
<a class="play" href="#"></a>
</div>
<a class="title" href="#">以往知道-遗忘之岛-背弃-背起理想</a>
<a class="anthor" href="#">十一</a>
</li>
<li class="item">2</li>
<li class="item">3</li>
<li class="item">4</li>
<li class="item">5</li>
</ul>
<ul class="list">2</ul>
</div>
<a class="control control-left" href="#"></a>
<a class="control control-right" href="#"></a>
</div>
</div>


</div>
<div class="rank-section">
<div class="header_type_02">
<div class="head-left">
<h2 class="title">榜单</h2>
</div>
<div class="head-right">
<a class="more" href="#">更多</a>
</div>
</div>
<div class="content">
<dl class="rank up-rank">
<dt class="header">
<div class="album">
<img src="./images/rank_up.jpeg" alt="飙升榜">
<a class="cover" href="#"></a>
</div>
<div class="info">
<h3 class="title">飙升榜</h3>
<div class="operation">
<a class="btn play" href="#"></a>
<a class="btn favor" href="#"></a>
</div>
</div>
</dt>
<dd class="list up-list">
<ol>
<li class="item">
<span class="no">1</span>
<a class="song" href="#">在等冬天为你在等我的雪天</a>
<div class="operation">
<a class="btn play" href="#"></a>
<a class="btn add" href="#"></a>
<a class="btn favor" href="#"></a>
</div>
</li>
<li class="item">2</li>
<li class="item">2</li>
<li class="item">2</li>
<li class="item">2</li>
<li class="item">2</li>
<li class="item">2</li>
<li class="item">2</li>
<li class="item">2</li>
<li class="item">2</li>
</ol>
<div class="more">
<a href="#">查看全部 &gt;</a>
</div>
</dd>
</dl>
<dl class="rank new-rank">2</dl>
<dl class="rank origin-rank">3</dl>
</div>
</div>
</div>
<div class="area-right">
<div class="user-login">
<p class="desc">的街坊邻居阿桑的歌i人格独立哦比都不能</p>
<a class="btn" href="#">用户登录</a>
</div>
<div class="settle-singer">
<div class="header_type_01">
<h3 class="title">入驻歌手</h3>
<a class="more" href="#">查看全部 &gt;</a>
</div>
<ul class="list">
<li><a class="item" href="#">
<div class="album">
<img src="./images/singer_01.jpeg" alt="">
</div>
<div class="info">
<div class="singer">张惠妹AMee</div>
<div class="desc">台湾歌手张惠妹时候覅撒旦发射点立刻但是</div>
</div>
</a></li>
<li><a class="item" href="#">
<div class="album">
<img src="./images/singer_01.jpeg" alt="">
</div>
<div class="info">
<div class="singer">张惠妹AMee</div>
<div class="desc">台湾歌手张惠妹</div>
</div>
</a></li>
<li><a class="item" href="#">
<div class="album">
<img src="./images/singer_01.jpeg" alt="">
</div>
<div class="info">
<div class="singer">张惠妹AMee</div>
<div class="desc">台湾歌手张惠妹</div>
</div>
</a></li>
<li><a class="item" href="#">
<div class="album">
<img src="./images/singer_01.jpeg" alt="">
</div>
<div class="info">
<div class="singer">张惠妹AMee</div>
<div class="desc">台湾歌手张惠妹</div>
</div>
</a></li>

</ul>
</div>
<div class="hot-anthor">
<div class="header_type_01">
<h3 class="title">热门主播</h3>
</div>
</div>
</div>
</div>
</div>
</body>

</html>