-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
83 lines (71 loc) · 1.33 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
*{
margin: 0;
padding: 0;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.gameZone{
background-color: rgb(199, 255, 216);
width: 100%;
height: 100%;
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.gameContainer{
background-color: whitesmoke;
width: 300px;
height: 300px ;
border-radius: 12px;
padding: 11px;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-around;
}
.cell{
border-radius: 8px;
width: 30%;
height: 30%;
background-color: white;
box-shadow: 1px 1px 2px rgb(216, 216, 216);
}
.cell:hover{
cursor: pointer;
box-shadow: none;
transition: all 200ms;
}
.blue{
animation: changing 300ms linear;
background-color: rgb(199, 228, 255);
}
.red{
animation: changing 300ms linear;
background-color: rgb(255, 199, 199);
}
.win{
background-color: rgb(255, 217, 146);
}
.rotating{
animation: changing 300ms linear;
}
.disable{
box-shadow: none;
}
.disable:hover{
cursor: default;
}
@media all and (max-width:500px) {
.gameContainer{
background-color: blue;
}
}
@keyframes changing {
0%{
transform: rotate3d(0)
}
100%{
transform: rotate3d(0, 90, 0, 180deg);
}
}