-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
82 lines (78 loc) · 1.36 KB
/
style.css
File metadata and controls
82 lines (78 loc) · 1.36 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
* {
padding: 0;
margin: 0;
}
/* button container design */
.container {
display: grid;
grid-template-columns: 200px 200px;
justify-content: center;
align-content: center;
gap: 20px;
height: 90vh;
}
body {
background-color: wheat;
}
/* button design */
.btn {
width: 200px;
height: 200px;
border: 2px solid black;
border-radius: 30%;
}
.yellow {
background-color: rgba(255, 255, 0, 0.866);
}
.red {
background-color: rgba(255, 0, 0, 0.866);
}
.blue {
background-color: rgba(17, 0, 255, 0.866);
}
.green {
background-color: #0dff00db;
}
/* Highest score and reset button */
h3 {
color: rgb(42, 4, 88);
}
.score-container {
display: flex;
align-items: center;
gap: 10px;
display: flex;
justify-content: center;
align-items: center;
margin-top: 15px;
}
.reset-btn {
margin-left: 10px;
padding: 6px 12px;
font-size: 1rem;
border: none;
border-radius: 6px;
background-color: #ff4757;
color: white;
cursor: pointer;
transition: 0.2s;
}
.reset-btn:hover {
background-color: #ffffff;
color: rgb(0, 0, 0);
}
/* HEading */
.heading {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 40px;
}
/* button flash */
.flash {
background-color: white;
}
.flash1 {
background-color: black;
}