-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
52 lines (44 loc) · 805 Bytes
/
styles.css
File metadata and controls
52 lines (44 loc) · 805 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
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #ecdfdf;
color: #fff;
}
.simon-game {
display: grid;
grid-template-columns: repeat(2, 200px);
grid-template-rows: repeat(2, 200px);
gap: 10px;
}
.color-button {
width: 200px;
height: 200px;
border-radius: 10px;
cursor: pointer;
opacity: 0.8;
}
.color-button.active {
opacity: 15;
}
.green {
background-color: green;
}
.red {
background-color: red;
}
.yellow {
background-color: yellow;
}
.blue {
background-color: blue;
}
button {
margin-top: 20px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}