-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
69 lines (68 loc) · 1.24 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
.wrapper{
font-family: "Roboto";
text-align: center;
}
.b-game__title{
font-size: 24px;
font-weight: bold;
}
.b-game__body{
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-webkit-flex-wrap: wrap;
-moz-flex-wrap: wrap;
-ms-flex-wrap: wrap;
-o-flex-wrap: wrap;
flex-wrap: wrap;
width: 215px;
text-align: center;
margin: 20px auto;
}
.b-game__item{
display: -webkit-inline-flex;
display: -moz-inline-flex;
display: -ms-inline-flex;
display: -o-inline-flex;
display: inline-flex;
margin: 5px 2px;
width: 60px;
height: 60px;
cursor: pointer;
justify-content: center;
align-items: center;
background: rgba(0,0,0,0.1);
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
-ms-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s;
font-weight: bold;
font-size: 20px;
}
.b-game__item:hover{
background: rgba(0,0,0,0.2);
}
.disabled{
pointer-events: none;
}
.X{
background: pink;
color: #fff;
}
.O{
background: #050505;
color: #fff;
}
#reset{
display: inline-block;
padding: 6px 18px;
font-size: 14px;
font-weight: bold;
cursor: pointer;
-webkit-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s;
}