-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
60 lines (51 loc) · 965 Bytes
/
style.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
*,
*::after,
*::before{
box-sizing: border-box;
padding: 0;
margin: 0;
}
.container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
gap: 6px;
}
.hover-div{
display: grid;
place-items: center;
width: 430px;
height: 50px;
display: grid;
grid-template-columns: repeat(7, 1fr);
}
.board{
background-color: rgb(33, 33, 231);
display: grid;
grid-template-columns: repeat(7, 1fr);
grid-template-rows: repeat(6, 1fr);
place-items: center;
width: 430px;
height: 350px;
}
.cell, .hover-cell{
background-color: white;
border-radius: 50%;
width: 50px;
height: 50px;
cursor: pointer;
}
.back{
background-color: rgb(71, 63, 63);
}
.hover-cell{
border: none;
}
.red:hover, .show-red{
background-color: rgb(245, 35, 35);
}
.yellow:hover, .show-yellow{
background-color: rgb(240, 236, 24);
}