-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
143 lines (140 loc) · 4.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
body{
padding: 0px;
margin: 0px;
}
.Container{
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.box{
background: radial-gradient(rgba(0, 0, 0, 0.50),rgb(0, 0, 0));
width: 300px;
border-radius: 30px;
}
header{
display: flex;
justify-content: space-between;
margin: 10px;
padding:10px ;
margin-bottom: 20px;
}
header > div{
background: #ffffff;
padding: 10px 12px;
border-radius: 20px;
cursor: pointer;
}
section{
display: flex;
justify-content: center;
}
section img{
width: 150px;
height: 150px;
border-radius: 50%;
}
footer{
display: flex;
flex-direction: column;
align-items: center;
}
#progress{
margin: 20px 0px;
-webkit-appearance: none;
/* background: #f53193c0; */
background: #000;
width: 200px;
height: 6px;
border-radius: 3px;
cursor: pointer;
}
#progress::-webkit-slider-thumb{
-webkit-appearance: none;
/* background: #f53193c0; */
background: #000;
width: 15px;
height: 15px;
border: 2px solid #fff;
border-radius: 50%;
}
.controls{
display: flex;
align-items: center;
grid-column-gap: 20px;
margin-bottom: 20px ;
}
.controls div{
background:#fff;
display: flex;
justify-content: center;
align-items: center;
width: 30px;
height: 30px;
border-radius: 50%;
padding: 5px;
/* color: #f53193c0; */
color: #000;
cursor: pointer;
}
.controls div:nth-child(2){
padding: 10px;
}
.controls div:hover{
padding: 7px;
}
.controls div:nth-child(2):hover{
padding: 12px;
}
.info {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding-top: 10px;
}
.info>h1,p{
font-family: sans-serif;
margin: 5px 0px;
color: #fff;
}
</style>
</head>
<body>
<div class="Container">
<div class="box">
<header>
<div><i class="fa-solid fa-angle-left"></i></div>
<div><i class="fa-solid fa-bars"></i></div>
</header>
<section>
<img id="image" src="eega.jpeg">
</section>
<section class="info">
<h1 id="songname">Eega</h1>
<p id="moviename">Eega</p>
</section>
<footer>
<audio src="eega.mp3" id="song" >
</audio>
<input type="range" value="0" id="progress" onchange="Skip()">
<div class="controls">
<div onclick="Playprev()"><i id="prev" class="fa-solid fa-backward"></i></div>
<div onclick="PlayPause()"><i id="pause-play" class="fa-solid fa-play"></i></div>
<div><i id="next" onclick="Playnext()" class="fa-solid fa-forward"></i></div>
</div>
</footer>
</div>
</div>
<script src="music.js"></script>
</body>
</html>