-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
69 lines (57 loc) · 829 Bytes
/
styles.css
File metadata and controls
69 lines (57 loc) · 829 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
h1 {
text-align: center;
}
.piano {
background-color: red;
width: 75vw;
height: 50vh;
margin: auto;
padding: 25px;
}
.keys {
width: 100%;
height: 100%;
margin: auto;
position: relative;
}
.key {
margin: 0;
padding: 0;
display: inline-block;
border-radius: 0% 0% 8px 8px;
}
.key:hover {
background-color: #0593A2;
}
.key:active {
background-color: #103778;
}
.white {
background-color: white;
width: 10%;
height: 100%;
position: relative;
z-index: 0;
}
.black {
background-color: black;
width: 6%;
height: 60%;
position: absolute;
z-index: 1;
}
#note-c-sharp {
left: 7%;
}
#note-d-sharp {
left: 17%;
}
#note-f-sharp {
left: 38.5%;
}
#note-g-sharp {
left: 48.5%;
}
#note-a-sharp {
left: 58.5%;
}