-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcardClickGame.css
More file actions
52 lines (51 loc) · 931 Bytes
/
cardClickGame.css
File metadata and controls
52 lines (51 loc) · 931 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
* {
font-family: "Courier New", monospace;
}
.cardList{
display: flex;
flex-wrap: wrap;
gap: 16px;
}
.card{
width: 225px;
height: 300px;
border-radius: 12px;
display: flex;
justify-content: center;
align-items: center;
font-size: 36px;
color: white;
border: 1px solid black;
opacity: 1;
font-weight: bold;
transition: background-color 0.5s, color 0.5s, opacity 0.5s;
}
.active{
background-color: palegreen;
}
.inactive{
background-color: #df2935;
color: black;
}
.content{
width: 1575px;
}
#result-text{
font-weight: bold;
font-size: 40px;
text-align: center;
}
#ui{
position: fixed;
opacity: 0.5;
pointer-events: none;
right: 40px;
top: 20px;
font-weight: bold;
font-size: 25px;
background-color: lightblue;
border: solid 3px black;
border-radius: 20px;
padding: 5px;
text-align: center;
}