-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
57 lines (51 loc) · 1 KB
/
main.css
File metadata and controls
57 lines (51 loc) · 1 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
background: url(img/pic2.jpeg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
body {
width: 100vw;
min-height: 100vh;
}
.keyboard {
display: flex;
flex-wrap: wrap;
margin-top: 22%;
align-items: center;
justify-content: center;
}
.key {
display: block;
font-size: 80px;
border: 0.7rem solid black;
border-radius: 5px;
margin: 1rem;
padding: 0.3rem 0.3rem;
transition: all 0.07s;
height: 250px;
width: 250px;
text-align: center;
color: white;
background: rgba(0, 0, 0, 0.4);
/* background-color: transparent; used rgba above to blur background
backdrop-filter: blur(0.25rem); */
cursor: pointer;
text-shadow: 7px 7px 15px black;
}
.key-active {
transform: scale(1.1);
border-color: yellow;
box-shadow: 0 0 1rem yellow;
}
.sound {
font-size: 2rem;
letter-spacing: 2px;
color: yellow;
}