-
Notifications
You must be signed in to change notification settings - Fork 164
/
connect4.css
82 lines (66 loc) · 1.04 KB
/
connect4.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
71
72
73
74
75
76
77
78
79
80
81
82
*{
margin: 0;
padding: 0;
}
body{
display: grid;
place-items: center;
}
h1{
text-align: center;
margin: 20px 0 20px 0;
}
h2{
text-align: center;
margin-bottom: 20px;
}
.board{
display: grid;
grid-template-columns: repeat(7,1fr);
border: 2px solid black;
width: 630px;
background-color: rgb(74, 74, 198);
}
ul{
display: grid;
place-items: center;
}
ul p{
margin: 5px;
width: 75px;
height: 75px;
border: 2px solid black;
border-radius: 100px;
background-color: white;
}
ul:hover{
cursor: pointer;
background-color: rgb(98, 136, 238);
}
@media(max-width:700px){
.board{
width: 500px;
}
ul p{
width: 55px;
height: 55px;
}
}
@media(max-width:520px){
.board{
width: 400px;
}
ul p{
width: 40px;
height: 40px;
}
}
@media(max-width:420px){
.board{
width: 320px;
}
ul p{
width: 30px;
height: 30px;
}
}