[music player] madomagi music player
not mine, scripted #music code
by naocrrds
HTML
<style>
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
body {
background: white;
}
#background {
position: absolute;
height: 100%;
width: 100%;
margin: auto;
top: 0;
left: 0;
right: 0;
bottom: 0;
filter: blur(10px);
z-index: -1;
}
/* container for music player */
.container {
position: absolute;
height: 300pt;
width: 250pt;
margin: auto;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
background: #000000;
border-radius: 10px;
}
/* container for play, pause, previous track, next track, and progress bar */
.box {
position: absolute;
height: 50%;
width: 103%;
background: #FEF0F7;
z-index: 4;
bottom: -17%;
}
/* album cover */
#thumbnail {
position: absolute;
width: 103%;
top: -7%;
transition: 1s;
z-index: 3;
}
/* track artist */
.song-artist {
position: absolute;
z-index: 4;
color: black;
font-family: 'Montserrat', sans-serif;
font-weight: bold;
font-size: 20px;
bottom: 21%;
left: 28%;
}
/* track title */
.song-title {
position: absolute;
z-index: 4;
color: #FEA5D4;
font-family: 'Montserrat', sans-serif;
font-size: 17px;
bottom: 16%;
left: 28%;
}
/* style for play and pause images */
#play-pause {
position: absolute;
height: auto;
width: 50px;
cursor: pointer;
bottom: 15%;
z-index: 4;
font-size: 50px;
left: 9%;
}
/* style for next and previous song images */
#next-song, #previous-song {
position: absolute;
height: 30px;
width: 30px;
cursor: pointer;
bottom: 13.5%;
font-size: 40px;
z-index: 4;
}
/* unique style for next song image */
#next-song {
right: 10%;
}
/* unique style for previous song image */
#previous-song {
right: 10.3%;
bottom: 21.5%;
}
/* style for current time of the...