-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
78 lines (54 loc) · 1.02 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
body {
background: #F0F0F0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
text-align: center;
}
.is-hidden {
display: none;
}
/* ttt = tic-tac-toe */
.ttt-board {}
.ttt-board-row {
margin-bottom: 5px;
}
.ttt-tile {
display: inline-block;
width: 100px;
height: 100px;
border-radius: 10px;
background: #7B9DAD;
transition: background 0.1s ease;
}
.ttt-tile + .ttt-tile {
margin-left: 5px;
}
.ttt-x-piece {
width: 20px;
height: 100px;
position: relative;
left: 40px;
background: #74D3F2;
border-radius: 10px;
-ms-transform: rotate(45deg); /* IE 9 */
-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
transform: rotate(45deg);
}
.ttt-x-piece:after {
width: 100px;
height: 20px;
border-radius: 10px;
position: absolute;
top: 40px;
left: -40px;
background: #74D3F2;
content: "";
}
.ttt-o-piece {
width: 50px;
height: 50px;
position: relative;
top: 5px;
left: 5px;
border: 20px solid #FB599E;
border-radius: 50px;
}