js+css实现歌曲《十年》伴奏代码

代码语言:html

所属分类:其他

代码由claude-5 ai生成,可能有错误,仅供参考:点击查看提示词

代码描述:ai生成经典歌曲音乐伴奏网页

代码标签: js css 歌曲 十年 伴奏 代码

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

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>《十年》风格伴奏生成器</title>
<style>
  * { box-sizing: border-box; }
  body {
    margin: 0;
    min-height: 100vh;
    font-family: "PingFang SC","Microsoft YaHei",sans-serif;
    background: linear-gradient(135deg,#2b1055,#7597de);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .card {
    background: rgba(255,255,255,0.96);
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  }
  h1 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #2b1055;
    text-align: center;
  }
  .subtitle {
    text-align: center;
    color: #777;
    font-size: 13px;
    margin-bottom: 24px;
  }
  .controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 16px;
    background: #f5f3ff;
    border-radius: 10px;
  }
  .ctrl-item { display:flex; align-items:center; gap:8px; font-size:14px; color:#333;}
  input[type=range]{ width:120px; }
  button {
    background: linear-gradient(135deg,#6a3de8,#8f6ff0);
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(106,61,232,0.35);
    transition: transform .15s ease, o.........完整代码请登录后点击上方下载按钮下载查看

网友评论0