-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
43 lines (38 loc) · 793 Bytes
/
Copy pathstyles.css
File metadata and controls
43 lines (38 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.keyboard {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.white-key {
width: 80px;
height: 300px;
background-color: white;
border: 1px solid #333;
border-radius: 0 0 5px 5px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
margin-right: -1px; /* To make the borders overlap */
cursor: pointer;
position: relative;
}
.white-key:hover {
background-color: #eee;
}
.black-key {
width: 50px;
height: 180px;
background-color: #000000;
border-radius: 0 0 3px 3px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
position: absolute;
top: 0;
left: -25px;
z-index: 1;
cursor: pointer;
}
.black-key:hover {
background-color: #555;
}
.pressed {
background-color: #4a4a4a;
}