-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (70 loc) · 1.29 KB
/
style.css
File metadata and controls
87 lines (70 loc) · 1.29 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
* {
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: maroon
}
body {
font-family: Arial, sans-serif;
background-color: gold;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
text-align: center;
border: 10px solid gold; /* Golden border around the entire page */
border-radius: 20px;
}
.drum {
background-color: white;
color: black;
border: none;
margin: 5px;
border-radius: 15px;
cursor: pointer;
transition: transform 0.2s, background-color 0.3s;
height: 110px;
width:110px;
display: inline-block;
}
.w{
background-image: url("images/tom1.png");
}
.a{
background-image: url("images/tom2.png");
}
.s{
background-image: url("images/tom3.png");
}
.d{
background-image: url("images/tom4.png");
}
.j{
background-image: url("images/snare.png");
}
.k{
background-image: url("images/crash.png");
}
.l{
background-image: url("images/kick.png");
}
button{
background-color: gold;
border-radius: 20px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
button:hover {
background-color: darkgoldenrod;
transform: scale(1.1);
}
/* Hover effect for drum buttons */
.drum:hover {
transform: scale(1.1);
background-color: darkgoldenrod;
}
h1 {
color: gold;
}