react实现一个音序器Sequencer代码
代码语言:html
所属分类:其他
代码描述:react实现一个音序器Sequencer代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
background: #1e1e21;
}
.flex {
display: flex;
flex-direction: row;
}
.Sequencer {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -55%);
padding: 1em;
background: #28282c;
border-radius: 4px;
}
.notes {
list-style-type: none;
position: absolute;
left: -100px;
top: 75px;
text-align: right;
color: white;
line-height: 60px;
opacity: 0.3;
}
.buttons {
display: flex;
padding: 0.35em 0 0.5em;
}
.buttons button, .buttons select {
margin: 5px;
outline: none;
background: #36363c;
color: white;
padding: 1em;
font-size: 12px;
letter-spacing: 1px;
border-radius: 4px;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
cursor: pointer;
border: 2px solid transparent;
}
.buttons button.active, .buttons select.active {
color: #0087ff;
border: 2px solid #0087ff;
}
.buttons .select-wrapper {
position: relative;
}
.buttons .se.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0