본문 바로가기
실시간TV∴영화∴드라마∴예능

HTML Audio PlayList Player

반응형

간단한 HTML 오디오 재생 목록 플레이어 입니다.

소스를 적적히 수정하시면 훌륭한 플레이어 디자인이 될 것입니다.

body{
background: #00d2ff;
background: -webkit-linear-gradient(to right, #3a7bd5, #00d2ff);
background: linear-gradient(to right, #3a7bd5, #00d2ff); 
color: #ffc266;
}
#myProgress {
  width: 420px;
   background-color: #d9d9f2; 
  cursor: pointer;
  border-radius: 10px;
}
#myBar {
  width: 0%;
  height: 5px;
  background-color: #ffc266;
  border-radius: 10px;
}
.logo {
  fill: red;
}
.btn-action{
  cursor: pointer;
  padding-top: 10px;
  width: 30px;
}
.btn-ctn, .infos-ctn{
  display: flex;
  align-items: center;
  justify-content: center;
}
.infos-ctn{
padding-top: 20px;
}
.btn-ctn > div {
 padding: 5px;
 margin-top: 18px;
 margin-bottom: 18px;
}
.infos-ctn > div {
 margin-bottom: 8px;
 color: #ffc266;
}
.first-btn{
  margin-left: 3px;
}
.duration{
  margin-left: 10px;
}
.title{
  margin-left: 10px;
  width: 210px;
  text-align: center;
}
.player-ctn{
  border-radius: 15px;
  width: 420px;
  padding: 10px;
  background-color: #373737;
  margin:auto;
  margin-top: 100px;
  box-shadow: 15px 15px 20px rgba(0, 0, 0, 0.4);
}
.playlist-track-ctn{
  display: flex;
  background-color: #464646;
  margin-top: 3px;
  border-radius: 5px;
  cursor: pointer;
}
.playlist-track-ctn > div{
  margin:10px;
}
.playlist-info-track{
  width: 80%;
}
.playlist-info-track,.playlist-duration{
  padding-top: 7px;
  padding-bottom: 7px;
  color: #e9cc95;
  font-size: 14px;
  pointer-events: none;
}
.playlist-ctn{
   padding-bottom: 20px;
}
.active-track{
  background: #4d4d4d;
  color: #ffc266 !important;
  font-weight: bold;
}
.active-track > .playlist-info-track,.active-track >.playlist-duration,.active-track > .playlist-btn-play{
  color: #ffc266 !important;
}
.playlist-btn-play{
  pointer-events: none;
  padding-top: 5px;
  padding-bottom: 5px;
}
.fas{
  color: #ffc266;
  font-size: 20px;
}
반응형

댓글


Copyright ⓒ SmartWeb All rights reserved.