mirror of
https://github.com/wgreenberg/musicbox.git
synced 2024-11-22 19:40:25 +01:00
styling, explanation
This commit is contained in:
parent
13c87ce547
commit
e45c183d93
1 changed files with 36 additions and 4 deletions
40
index.html
40
index.html
|
@ -1,14 +1,46 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>musicbox</title>
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
|
||||||
<script src='musicbox.js'></script>
|
<script src='musicbox.js'></script>
|
||||||
<style>
|
<style>
|
||||||
textarea {
|
textarea {
|
||||||
width: 200px;
|
|
||||||
height: 300px;
|
height: 300px;
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sequencers {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sequencer {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 200px;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: small;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<span id='status'>loading samples...</span><br>
|
<span id='status'>loading samples...</span>
|
||||||
<textarea id='beats'></textarea>
|
<div class='sequencers'>
|
||||||
<textarea id='piano'></textarea>
|
<div class='sequencer'>
|
||||||
|
<span>beats</span>
|
||||||
|
<textarea id='beats'></textarea>
|
||||||
|
<p>Each letter corresponds to a different sample. Non-letters are
|
||||||
|
silent.</p>
|
||||||
|
</div>
|
||||||
|
<div class='sequencer'>
|
||||||
|
<span>piano</span>
|
||||||
|
<textarea id='piano'></textarea>
|
||||||
|
<p>On a QWERTY keyboard, letters on each row represent notes C through
|
||||||
|
B, with lower rows representing higher octaves. Capital letters are
|
||||||
|
louder, non-letters are silent.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue