-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
69 lines (60 loc) · 964 Bytes
/
style.css
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
.piano {
display: flex;
top: 50%;
position: absolute;
transform: translateY(-50%);
height: 200px;
text-align: center;
}
.piano * {
width: 50px;
height: 100%;
background-color: rgb(255, 255, 255);
margin: 1px;
border: 1px solid black;
border-radius: 10px;
}
.piano h1 {
width: 0;
height: 0;
background-color: transparent;
margin: 0;
border: 0px solid black;
position: relative;
top: 70%;
pointer-events: none;
}
.csh,
.dsh,
.fsh,
.gsh,
.ash {
height: 60%;
background-color: black;
color: white;
width: 40px;
}
.piano *:hover {
background-color: rgb(140, 101, 230);
box-shadow: 0 0 5px 5px rgb(1, 255, 77);
}
.csh {
position: absolute;
left: 7.5%;
}
.dsh {
position: absolute;
left: 22.5%;
}
.fsh {
position: absolute;
left: 50.5%;
}
.gsh {
position: absolute;
left: 66%;
}
.ash {
position: absolute;
left: 80%;
}