-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
executable file
·74 lines (62 loc) · 1.15 KB
/
styles.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
70
71
72
73
74
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
}
img {
width: 100%;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
min-height: 100vh;
padding: 0 1rem;
background-image: url(images/rock1.png), linear-gradient(90deg, red, blue);
background-size: cover;
background-position: center;
background-blend-mode: multiply;
}
.keys {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
}
.key {
width: 75px;
height: 75px;
border: 2px #252525 solid;
font-size: 2rem;
text-align: center;
color: #252525;
padding-top: 1.5rem;
border-radius: 10px;
transition: all .07s;
}
.playing {
transform: scale(1.1);
border-color: #ffc600;
box-shadow: 0 0 10px #ffc600
}
.sound {
color: #ffc600;
}
.key:hover,
.key:focus {
border: 5px transparent solid;
border-image: linear-gradient(220deg, red, blue) 1;
}
@media screen and (min-width: 1028px) {
.container {
flex-direction: row;
}
.key {
width: 100px;
height: 100px;
}
}