Skip to content

converted to rems and added a space between rule: value #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 2, 2017
Merged
Changes from all commits
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
38 changes: 19 additions & 19 deletions 01 - JavaScript Drum Kit/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
html {
font-size: 10px;
background:url(http://i.imgur.com/b9r5sEL.jpg) bottom center;
background: url(http://i.imgur.com/b9r5sEL.jpg) bottom center;
background-size: cover;
}
body,html {
@@ -10,41 +10,41 @@ body,html {
}

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

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

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

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

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