-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (74 loc) · 1.65 KB
/
style.css
File metadata and controls
74 lines (74 loc) · 1.65 KB
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* ok các bạn làm giống mình r qua css nha */
body{
background-color: rgb(77, 8, 119);
}
.main-content{
width: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.controls{
text-align: center;
padding: 10px 10px;
background-color: hotpink;
width: 50%;
margin: 0 auto;
border-radius: 5px;
box-shadow: 0 0 10px hotpink, 0 0 40px hotpink, 0 0 80px hotpink;
}
.controls:hover{
cursor: pointer;
}
#progressbar{
background-color: white;
}
#progress{
/* mặc định phải cho with =0 vì nhạc chưa phát mà ^^ */
width: 0%;
height: 3px;
background-color: rgb(51, 51, 51);
position: relative;
/* mình cho cái núm :)) theo cái tiến trình nhạc chạy
nhạc chạy đến đâu núm sẽ ở đó */
}
#progress::after{
content: '';
display: block;
width: 8px;
height: 8px;
position: absolute;
background-color: black;
border-radius: 50%;
right: 0;
top: 50%;
transform: translateY(-50%);
}
/* ok chưa nè đó là ý tưởng */
.time{
font-size: 10px;
}
.button-gr{
margin-top: 5px;
}
.button-gr span{
margin: 0 5px;
font-size: 15px;
color: rgba(0, 0, 0, 0.705);
}
.button-gr span i{
transition: all 0.3s ease;
}
.button-gr span:hover i{
transform: scale(1.5);
}
/* ok v là xong phần giao diện các bạn đợi phần 2
mình sẽ dùng JS để xử lý nhé
cám ơn các bạn đã theo dõi
Like và sub để ủng hộ cho mình nha ^^ */