summaryrefslogtreecommitdiff
path: root/index.css
blob: f9e40aeeade35c0c515baf0781bdae918c86ab86 (plain)
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
*{
    font-size: 30px;
    margin: 0;
    padding: 0;
}

.white{
    background-color: antiquewhite;
    height: 76px;
    width: 76px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.black{
    height: 76px;
    width: 76px; 
    background-color: brown; 
    display: flex;
    justify-content: center;
    align-items: center;  
}

body{
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1px;
}

.chess-board{
    width: 608px;
    height: 608px;
    display: grid;
    grid-template-columns:repeat(8,1fr);
    grid-template-rows:repeat(8,1fr);
}