File size: 1,087 Bytes
079c32c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
83
84
85
86
.board {
  display: flex;
  margin: 10px auto;
  flex-direction: column;
  position: relative;
  height: 375px;
  width: 375px;
  max-width: 600px;
  max-height: 600px;
  background-size: cover;
}

.board-row {
  display: flex;
}

.cell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cell::before,
.cell::after {
  content: "";
  position: absolute;
  background: #000;
}

.cell::before {
  left: 50%;
  height: 100%;
  width: 1px;
}

.cell::after {
  top: 50%;
  width: 100%;
  height: 1px;
}

.cell.top::before {
  top: 50%;
}
.cell.bottom::before {
  bottom: 50%;
}
.cell.left::after {
  left: 50%;
}
.cell.right::after {
  right: 50%;
}


.piece {
  width: 70%;
  height: 70%;
  border-radius: 50%;
  position: relative;
  z-index: 10;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.piece.black {
  background: #000;
  color: white;
}

.piece.white {
  background: #fff;
  color: black;
}

.last {
  width: 80%;
  height: 80%;
  border: 1px solid red;
  z-index: 100;
  position: absolute;
}