<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="./styles.css" />
</head>
<body>
<div id="root"></div>
</body>
</html>
html {
width: 100%;
height: 100%;
overflow: hidden;
padding: 0;
margin: 0;
outline: 0;
}
body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
background: #bb71f3;
background: linear-gradient(-45deg, #bb71f3 0%, #3d4d91 100%);
background: linear-gradient(-45deg, #bb71f3 0%, #3d4d91 100%);
background: linear-gradient(135deg, #bb71f3 0%, #3d4d91 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bb71f3', endColorstr='#3d4d91', GradientType=1);
font-family: "Helvetica Neue", "Futura", "Trebuchet MS", Arial;
user-select: none;
user-select: none;
tap-highlight-color: rgba(255, 255, 255, 0);
}
/* Top Info */
#title {
position: absolute;
width: 100%;
top: 3%;
line-height: 34px;
height: 34px;
text-align: center;
font-size: 34px;
opacity: 0.9;
font-weight: 300;
color: #fff;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
}
.currentTime {
position: absolute;
top: 0;
left: 3%;
text-align: left;
font-size: 26px;
opacity: 0.9;
font-weight: 300;
color: #fff;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
}
.duration {
position: absolute;
top: 0;
right: 3%;
text-align: right;
font-size: 26px;
opacity: 0.5;
font-weight: 300;
color: #fff;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
}
/* Controls */
.controlsOuter {
position: absolute;
width: 100%;
height: 70px;
bottom: 3%;
}
.controlsInner {
position: absolute;
width: 340px;
height: 70px;
left: 50%;
margin: 0 -170px;
}
.btn {
position: absolute;
cursor: pointer;
opacity: 0.9;
filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.33));
filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.33));
user-select: none;
user-select: none;
}
.btn:hover {
opacity: 1;
}
.playButton {
background-image: url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OERFOEQ1OUM2QkQxMUU1OTZFMEMxNEEyRjI2NUYzNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PnFM7yIAAAFWSURBVHja7NRJDoMwDEDRcPL2ZoVeLEUtCyoCZPBsf8mS10+Wp5zzK6X0XGdJ0bdpRcnbPgfOESUFzjmKe5wrFLc4NSjucFpQ3OD0oJjHGUExiwOBYg4HEsUMDgaKehxMFLU4FCjqcChR1OBwoIjH4UQRiyMBRRyOJBQxOBJR2HEko7DhaEAhx9GEQoajEQUdRzMKGo4FFHAcSyhgOBZRhnEso3TjeEBpxvGEUo3jEeUWxzPKKU6gFHACpYATKMfegbLDWOcRl/Jr2X7JHI+2gOEZ5RTDI8othieUagwPKM0YllG6MSyiDGNYQgHDsIACjqEZBQ1DIwo6hiYUMgwNKOQYklHYMCSisGNIQhGDIQFFHAYnilgMDhTxGJQoajAoUNRhYKKoxcBAUY8BiWIGAwLFHMYIilmMHhTzGC0objBqUNxhXKG4xSihuMfYo8yB8d9HgAEATyefBJWpw70AAAAASUVORK5CYII=");
width: 69px;
height: 70px;
left: 50%;
margin: auto -34.5px;
}
.pauseButton {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEUAAABGCAYAAACaGVmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MjkzRjNDNzI0MTFFNTk2RTBDMTRBMkYyNjVGMzQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MjkzRjRDNzI0MTFFNTk2RTBDMTRBMkYyNjVGMzQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBOERFOEQ1Q0M2QkQxMUU1OTZFMEMxNEEyRjI2NUYzNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowMTgyOTNGMkM3MjQxMUU1OTZFMEMxNEEyRjI2NUYzNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pne5d1AAAAB8SURBVHja7NCxCQAwAALBuP/QZoEUlinua0G4tD1j83Asv/4GChQoUKBAgQIFChQoUKBAgQIFChQoUKBAgQIFChQoUKBAgQIFChQoUKBAgQIFChQoUKBAgQIFChQoUKBAgQIFChQoUKBAgQIFChQoUKBAgQIFCpRXV4ABAOgpXYTDYwEwAAAAAElFTkSuQmCC");
width: 69px;
height: 70px;
left: 50%;
margin: auto -34.5px;
display: none;
}
.prevButton {
background-image: url("data:image/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DowMTgyOTNGQUM3MjQxMUU1OTZFMEMxNEEyRjI2NUYzNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PndeAH8AAACtSURBVHja7NXJCcAgEAVQEevK0lk6M1aW6CGQQBBn+ephBv7F0wNn8Vd7OWCWnOjd2FpzYk7K2cJAxFEA78cwA6I3porohWlCoDEkBArDQmhjRAgtjApCilFFcDEQBAcTUYinKLcJCqFinGEMYxjDgDFpJkzZwDsSRf2mE4ni9gwEJW1gVZTWNKmgtEdbhELtGRYKvfRIqF4buAnV+xxUUaNu0y9q9KH8oG4BBgDjdpk0jMoz1gAAAABJRU5ErkJggg==");
width: 35px;
height: 35px;
left: 0;
top: 50%;
margin: -17.5px auto;
}
.nextButton {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM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0AAADGSURBVHjaYvz//z/DYAFMDIMIjDpm1DHDwjH/0fDugXAMCxK7AojPAnEHmpo0IFaisTsqIEECLPT+Q4ALlL0bihmQ+LQGYLsYoSXwf2iovAdiYyjbdaCiaQ+S2FkopjtgHK2bCESTC5r4+4GIKuQEjAz2DGQCHhTlDAtaLtoDjSJkoATN7iMzmjrRxO+NljODsZzpwBJNs0bLGShwhToCvWHVQYes7YruGJiFgljKmpEbTa5YKsrRcmbUMaOOGXUMNQBAgAEAm2XFJrn+jrsAAAAASUVORK5CYII=");
width: 35px;
height: 35px;
top: 50%;
left: 3%;
margin: -17.5px auto;
}
.volumeButton {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWR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5ZCqQYSE/yYZ1LxVPvjJ86v50p/8ztr96X3JT+v+zKGDfAgwAZkMcn0x+AsMAAAAASUVORK5CYII=");
width: 35px;
height: 35px;
top: 50%;
right: 3%;
margin: -17.5px auto;
display: block;
}
.noVolumeButton {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAA7AAAAOwBeShxvQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAHdSURBVFiFxdc/axRBGAbwn2fIeVYiioWNgqhREE1jISkEIRjBIq0ogpUfwErQCyhYiKVg6RcQVPwDIhYRbMRco2U6CWJjIaJiPIuZ1XHZzeUuN3cPDDsz++48z8zOO+87DA+TQxyrLzRxB9/xGhOjJD+EDrpJOTYq8gv4WiLv4nhu4p14VEE8EgGzWCkRdrCcW0ATt7CaEP3GPbTwJqeAKSz5f9afcCaxGVhA4TL7sKfi/RHcEGZZ4DEu4XM/RGvhJH6p31RF+YbL2FQxxoZWYAabe9h1cA4f+hl8vQIaSXs5FpjG9li/MiD5QRzAE2GVC8zE5yK0/Vu+dmL0Iuk/1YOo6hfsFn5bNwpoxv6U72zOc3sbtsT6HB4I3nQ1sdnVKH81RLzHQtKeK5E/w/2cAkQBCxX9zzGPn7kF1OGvK+cWcD2WMmaFPTGZU8DhEvlT3Ezap3Expxd8EbKkViSfxw/hPCiErZQFnMeJWJ/eoICPcYz9UUBxELXxMtYX4ZrecWBJSL/qMHAsaEQVqz3sjuKt+mA0MCbwSjiv91a8T8NxC3eFzTPUcNwLU3gnU0KyXqyVkm0dhYACY0tKU+zAQ/Uek11AgbFdTFKM9WpWoInbQvYz8stpioGu538AZyWri3YvqlkAAAAASUVORK5CYII=");
width: 35px;
height: 35px;
top: 50%;
right: 3%;
margin: -17.5px auto;
display: none;
}
/* Progress */
#waveform {
width: 100%;
height: 30%;
position: absolute;
left: 0;
top: 50%;
margin: -15% auto;
display: none;
cursor: pointer;
opacity: 0.8;
user-select: none;
user-select: none;
}
#waveform:hover {
opacity: 1;
}
#bar {
position: absolute;
top: 50%;
left: 0;
width: 100%;
height: 2px;
background-color: rgba(255, 255, 255, 0.9);
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
opacity: 0.9;
}
.progress {
position: absolute;
top: 0;
left: 0;
width: 0%;
height: 100%;
background-color: rgba(0, 0, 0, 0.1);
z-index: -1;
}
/* Loading */
#loading {
position: absolute;
left: 50%;
top: 50%;
margin: -35px;
width: 70px;
height: 70px;
background-color: #fff;
border-radius: 100%;
animation: sk-scaleout 1s infinite ease-in-out;
animation: sk-scaleout 1s infinite ease-in-out;
display: none;
}
@-webkit-keyframes sk-scaleout {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
opacity: 0;
}
}
@keyframes sk-scaleout {
0% {
transform: scale(0);
transform: scale(0);
}
100% {
transform: scale(1);
transform: scale(1);
opacity: 0;
}
}
/* Plylist */
#playlist {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.5);
display: none;
}
#list {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
display: box;
display: flexbox;
display: flex;
box-orient: vertical;
box-direction: normal;
flex-direction: column;
flex-direction: column;
box-pack: center;
flex-pack: center;
justify-content: center;
box-align: center;
flex-align: center;
align-items: center;
}
.list-song {
width: 100%;
height: 120px;
font-size: 50px;
line-height: 120px;
text-align: center;
font-weight: bold;
color: #fff;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
}
.list-song:hover {
background-color: rgba(255, 255, 255, 0.1);
cursor: pointer;
}
/* Volume */
#volume {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.5);
touch-action: none;
user-select: none;
tap-highlight-color: rgba(0, 0, 0, 0);
display: none;
}
.bar {
position: absolute;
top: 50%;
left: 5%;
margin: -5px auto;
height: 10px;
background-color: rgba(255, 255, 255, 0.9);
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.33);
}
#barEmpty {
width: 90%;
opacity: 0.5;
box-shadow: none;
cursor: pointer;
}
#barFull {
width: 90%;
}
#sliderBtn {
width: 50px;
height: 50px;
position: absolute;
top: 50%;
left: 93.25%;
margin: -25px auto;
background-color: rgba(255, 255, 255, 0.8);
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.33);
border-radius: 25px;
cursor: pointer;
}
/* Fade-In */
.fadeout {
webkit-animation: fadeout 0.5s;
animation: fadeout 0.5s;
animation: fadeout 0.5s;
}
.fadein {
webkit-animation: fadein 0.5s;
animation: fadein 0.5s;
animation: fadein 0.5s;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-webkit-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-ms-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeout {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@-webkit-keyframes fadeout {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@-ms-keyframes fadeout {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
function byId(id) {
return document.getElementById(id);
}
function create({ el, className, id, text }) {
const nameElement = document.createElement(el);
className ? (nameElement.className = className) : null;
id ? (nameElement.id = id) : null;
text ? (nameElement.innerText = text) : null;
return nameElement;
}
function render(el) {
const nameElement = byId("root");
nameElement.appendChild(el);
}
const titleElement = create({ el: "div", id: "title" });
titleElement.appendChild(
create({
el: "span",
className: "author",
text: "Author - "
})
);
titleElement.appendChild(
create({
el: "span",
className: "name",
text: "Name"
})
);
titleElement.appendChild(
create({
el: "span",
className: "currentTime",
text: "00:00"
})
);
titleElement.appendChild(
create({
el: "span",
className: "duration",
text: "00:00"
})
);
render(titleElement);
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.