howler+css实现简洁清爽音乐播放器代码

代码语言:html

所属分类:多媒体

代码描述:howler+css实现简洁清爽音乐播放器代码

代码标签: howler css 简洁 清爽 音乐 播放器 代码

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.5.11.2.css">
<style>
    @import url("https://fonts.googleapis.com/css?family=Quicksand:300,400,500,600,700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #F4DEE4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: "Quicksand", sans-serif;
}

.player {
  position: relative;
}

.container-player {
  background: #fff2f6;
  border-radius: 15px;
  padding: 8px;
  position: relative;
  z-index: 2;
  min-width: 350px;
  display: flex;
  justify-content: center;
  box-shadow: 0 0 10px 0 rgba(130, 0, 81, 0.1), 0px 40px 40px -25px rgba(130, 0, 81, 0.5);
}

.track {
  position: absolute;
  top: -45px;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 8px;
  background: #f5edf0;
  width: 95%;
  padding-left: 140px;
  border-radius: 15px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  z-index: 1;
  transition: all 0.5s ease-in-out;
}

.up {
  top: -68px;
}

.title {
  font-weight: bold;
  font-size: 14px;
  color: #4f4f4f;
}

.subtitle {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 4px;
  color: #a0a0a0;
}

.controlsOuter {
  display: flex;
  justify-content: center;
  align-items: center;
}

.controlsInner {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items:.........完整代码请登录后点击上方下载按钮下载查看

网友评论0