-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrid.css
More file actions
42 lines (36 loc) · 720 Bytes
/
Copy pathgrid.css
File metadata and controls
42 lines (36 loc) · 720 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
.grid{
display: grid;
grid-template-columns: repeat(3, 6em);
grid-template-rows: repeat(3, 6em);
/* IDK why but this gap needs to be here so the grid doesn't f up */
gap: 0.1em;
margin: 20px;
}
.subcell{
width: 6em;
height: 6em;
display: grid;
grid-template-columns: repeat(3, 2em);
/* grid-gap: 0.25em; */
border: 3px solid black;
/* box-shadow: inset 0 0 0 3px black; */
}
.cell{
width: 2em;
height: 2em;
box-shadow: inset 0 0 0 1px black;
display: flex;
justify-content: center;
align-items: center;
}
.cell:focus-within , .cell-input:focus{
background-color: #cfcfcf;
}
.cell-input{
text-align: center;
background-color: white;
outline: none;
border: none;
width: 2em;
height: 2em;
}