css实现一个黑色大气的音乐播放器app交互ui效果代码

代码语言:html

所属分类:多媒体

代码描述:css实现一个黑色大气的音乐播放器app交互ui效果代码

代码标签: css 音乐 播放器 app ui

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/font-awesome-4.7.0/css/font-awesome.min.css">
    <style>
        /* PRESS THE MENU BUTTON FOR ANIMATION */
        /* PRESS PLAY BUTTON TO LISTEN THE DEMO SONG */
        
        /* As seen on: "https://dribbble.com/shots/2144866-Day-5-Music-Player-Rebound/" */
        
        /* THANK YOU! */
        
        @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700);
        
        body {
          background: #ff564c;
          padding: 0;
          margin: 0;
        }
        
        @keyframes harlem {
          0% {
            transform: scale(1);
            -webkit-transform: scale(1);
            -moz-transform: scale(1);
            -o-transform: scale(1);
            -ms-transform: scale(1);
          }
          20% {
            transform: scale(1.03, 1);
            -webkit-transform: scale(1.03, 1);
            -moz-transform: scale(1.03, 1);
            -o-transform: scale(1.03, 1);
            -ms-transform: scale(1.03, 1);
          }
          40% {
            transform: scale(0.97, 1);
            -webkit-transform: scale(0.97, 1);
            -moz-transform: scale(0.97, 1);
            -o-transform: scale(0.97, 1);
            -ms-transform: scale(0.97, 1);
          }
          60% {
            transform: scale(1.01, 1);
            -webkit-transform: scale(1.01, 1);
            -moz-transform: scale(1.01, 1);
            -o-transform: scale(1.01, 1);
            -ms-transform: scale(1.01, 1);
          }
          80% {
            transform: scale(0.99, 1);
            -webkit-transform: scale(0.99, 1);
            -moz-transform: scale(0.99, 1);
            -o-transform: scale(0.99, 1);
            -ms-transform: scale(0.99, 1);
          }
          100% {
            transform: scale(1);
            -webkit-transform: scale(1);
            -moz-transform: scale(1);
            -o-transform: scale(1);
            -ms-transform: scale(1);
          }
        }
        
        h2 {
          margin: 0;
          padding: 0;
          font-size: 10px;
          line-height: 10px;
          letter-spacing: 2.5px;
          font-family: 'Open Sans';
          font-weight: 700;
          color: #fff;
        }
        
        h3 {
          margin: 0;
          padding: 0;
          font-size: 11px;
          line-height: 11px;
          font-family: 'Open Sans';
          font-weight: 400;
          color: #777;
        }
        
        h4 {
          margin: 0 0 5px 29px;
          padding: 0;
          font-size: 14px;
          line-height: 14px;
          font-family: 'Open Sans';
          font-weight: 700;
          color: #fff;
        }
        
        h5 {
          margin: 0;
          padding: 0;
          font-size: 13px;
          line-height: 13px;
          font-family: 'Open Sans';
          font-weight: 700;
          color: #6d6d6d;
        }
        
        h6 {
          margin: 0;
          padding: 0;
          font-size: 13px;
          line-height: 13px;
          font-family: 'Open Sans';
          font-weight: 700;
          color: #f0f0f0;
        }
        
        .screen {
          background-color: #fff;
          padding: 0;
          height: 650px;
          width: 366px;
          position: absolute;
          left: 50%;
        	top: 0;
        	transform: translate(-50%, 0);
          box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
          overflow: hidden;
          margin: 30px 0;
        }
        
        .header {
          display: inline-flex;
          margin: 0 0 40px 0;
        }
        
        input[type=checkbox] {
          visibility: hidden;
          margin: 0;
          padding: 0;
          z-index: 10;
        }
        
        label.main:before {
          position: absolute;
          top: 23px;
          left: 23px;
          font-family: FontAwesome;
          content: '\f0c9';
          color: #959595;
          font-size: 16px;
          lin.........完整代码请登录后点击上方下载按钮下载查看

网友评论0