-
Notifications
You must be signed in to change notification settings - Fork 0
/
Music.css
165 lines (141 loc) · 2.7 KB
/
Music.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
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
* {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
.container {
width: 100%;
height: 100vh;
background: #333;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
position: relative;
}
.music-player {
background: #ffe0e5;
width: 400px;
padding: 25px 35px;
text-align: center;
}
nav {
display: flex;
justify-content: space-between;
margin-bottom: 30px;
}
/* nav .heading h1{
font-size:25px;
font-weight: 500;
margin-top: -0.5px;
font-family: "Anton", sans-serif;
font-weight: 400;
font-style: normal;
color: #333;
} */
nav .circle {
border-radius: 50%;
width: 40px;
height: 40px;
line-height: 40px;
background: white;
color: #f53192;
box-shadow: 0 5px 10px rgba(255, 26, 26, 0.22);
cursor: pointer;
}
.song-img {
width: 220px;
border-radius: 50%;
border: 8px solid white;
box-shadow: 0 10px 60px rgba(255, 26, 26, 0.22);
}
.music-player h1 {
font-size: 20px;
font-weight: 400;
color: #333;
margin-top: 20px;
}
.music-player p {
font-size: 14px;
color: #333;
}
#progress {
-webkit-appearance: none;
width: 100%;
height: 6px;
background: #f53192;
border-radius: 4px;
cursor: pointer;
margin: 40px 0;
}
#progress::-webkit-slider-thumb {
-webkit-appearance: none;
background: #f53192;
width: 30px;
height: 30px;
border-radius: 50%;
border: 8px solid white;
box-shadow: 0 5px 5px rgba(255, 26, 26, 0.22);
}
.controls {
display: flex;
align-items: center;
justify-content: center;
}
.controls div {
width: 40px;
height: 40px;
margin: 13px;
background: white;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
color: #f53192;
box-shadow: 0 10px 20px rgba(255, 26, 26, 0.22);
cursor: pointer;
}
.controls div:nth-child(3) {
transform: scale(1.5);
background: #f53192;
color: white;
}
.menu {
display: none;
position: absolute;
top: -100%;
right: 35.4%;
background: #ffe0e5;
width: 399px;
height: 40vh;
padding: 25px 35px;
text-align: center;
padding: 10px;
animation: slide-in 0.3s forwards;
}
.menu ul {
list-style-type: none;
padding: 0;
line-height: 2;
}
.menu ul li {
font-size: 17px;
cursor: pointer;
}
.menu.show-menu {
display: block;
}
@keyframes slide-in {
from {
top: -100%;
}
to {
top: 20%;
}
}
.highlight {
background-color: #f53192;
color: white;
}