-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
70 lines (61 loc) · 1.06 KB
/
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
60
61
62
63
64
65
66
67
68
69
70
body {
background-color: #1d1d1d;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 40px;
}
#board {
display: grid;
grid-template-columns: repeat(9, 1fr);
grid-template-rows: repeat(9, 1fr);
width: 400px;
height: 400px;
}
.cell {
border: 1px solid rgb(209, 209, 11);
display: flex;
justify-content: center;
align-items: center;
font-size: x-large;
color: white;
}
.start-btn {
border: none;
padding: 8px 24px;
border-radius: 10px;
background-color: green;
font-weight: bold;
color: white;
letter-spacing: 0.5ch;
font-size: larger;
width: fit-content;
}
h1 {
font-weight: bold;
color: yellow;
font-family: sans-serif;
font-size: xx-large;
}
.board-parent {
position: relative;
}
.border-div {
z-index: -1;
position: absolute;
display: grid;
width: 400px;
height: 400px;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
}
.cellBorder {
border: 2px solid white;
}
.active{
visibility: visible;
}
.hidden{
visibility: hidden;
}