vue+tone+chance实现音乐泡泡排序动画弹奏效果代码
代码语言:html
所属分类:多媒体
代码描述:vue+tone+chance实现音乐泡泡排序动画弹奏效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.5.15.3.css">
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,700|Permanent+Marker" rel="stylesheet">
<style>
html, body {
margin: 0;
padding: 0;
box-sizing: border-box;
}
h1 {
margin: 0;
padding: 0;
}
button {
margin: 0;
padding: 0;
border: none;
background-color: transparent;
color: white;
cursor: pointer;
}
i.fa-redo-alt {
font-size: 1.5rem;
margin-left: 1rem;
}
.toast {
position: absolute;
top: 0;
right: 0;
width: 200px;
height: 50px;
background-color: green;
color: white;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
border-radius: 5px;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
min-height: 100vh;
align-content: flex-start;
background: #193073;
color: white;
}
.main {
margin-top: 2rem;
margin-bottom: 2rem;
display: flex;
flex-wrap: wrap;
font-family: 'IBM Plex Sans', sans-serif;
background: #22293c;
box-shadow: 8px 8px 10px 2px rgba(0, 0, 0, 0.3);
border-radius: 5px;
width: 700px;
padding: 2rem;
position: relative;
}
.title {
flex: 0 1 100%;
display: flex;
align-items: center;
justify-content: center;
margin-top: 1rem;
margin-bottom: 3rem;
font-size: 1.5rem;
text-transform: uppercase;
}
.graph {
flex: 0 1 100%;
display: flex;
justify-content: center;
align-items: flex-end;
}
.graph__bars {
display: flex;
align-items: flex-end;
}
.graph__bar {
background-color: #193073;
color: white;
height: 20px;
width: 50px;
transition: transform .5s, opacity .1s;
margin-right: 10px;
display: flex;
justify-content: center;
align-items: flex-end;
opacity: .5;
position: relativ.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0