Visitar URL original
Drum kit by fwortham4 · Pull Request #1 · fwortham4/JavaScript30 · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adds styling to style.css
  • Loading branch information
fwortham4 committed Dec 10, 2016
commit 0a1671ef216c3f465a1ff1d94a17fc24e92a2938
52 changes: 52 additions & 0 deletions Forrests_Builds/01 - JavaScript Drum Kit/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
html {
font-size: 10px;
background:url(http://bopdj.com/skin/frontend/bopdj/default/ebay/Products/NativeInstruments/MASCHINE/STUDIO/BLACK/5.jpg) no-repeat center center;
/*background-color: black;*/
background-size: cover;
}

body,html {
margin: 0px;
padding: 0px;
font-family: sans-serif;
}

.keys {
display: flex;
flex: 1;
min-height: 100vh;
align-items: center;
justify-content: center;
}

.key {
border: 4px solid black;
border-radius: 5px;
margin: 1em;
font-size: 1.95em;
padding: 1em .5em;
transition: all .07s;
width: 100px;
text-align: center;
color: white;
background:rgba(0,0,0,0.4);
text-shadow: 0 0 5px black;
}

.playing {
transform:scale(1.1);
border-color:#ffc600;
box-shadow: 0 0 10px #ffc600;
}

kbd {
display: block;
font-size: 40px;
}

.sound {
font-size: 1.2rem;
text-transform:uppercase;
letter-spacing: 1px;
color:#ffc600;
}