-
Notifications
You must be signed in to change notification settings - Fork 6
/
style.css
105 lines (89 loc) · 2.12 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
body{
margin:0;
padding:0;
font-size:12px;
background: #2980b9
url('images/bg.png') repeat 0 0;
background-size: auto 100%;
-webkit-animation: 10s linear 0s normal none infinite animate;
-moz-animation: 10s linear 0s normal none infinite animate;
-ms-animation: 10s linear 0s normal none infinite animate;
-o-animation: 10s linear 0s normal none infinite animate;
animation: 10s linear 0s normal none infinite animate;
}
html {
font-family: 'Ubuntu', sans-serif;
font-weight: 400;
font-size: 14px;
color: white;
}
.container {
max-width: 400px;
margin: 2em auto;
text-align: center;
line-height: 1.5;
}
h1 {
margin: 6em 1em auto;
}
a {
text-decoration: none;
color: rgb(255, 255, 255);
font-weight: 700;
}
span.purple {
color: purple;
font-weight: 700;
}
span.black {
color: black;
font-weight: 700;
}
.tic-tac-toe {
width: 315px;
height: auto;
margin: 0 auto;
}
.tile {
height: 100px;
width: 100px;
display: inline-block;
cursor: pointer;
position: relative;
vertical-align: top;
padding: 15px;
margin-bottom: 5px;
box-sizing: border-box;
color: #fff;
font-size: 60px;
text-align: center;
}
.free {
background-color: #fff;
}
.O-play {
background-color: black;
}
.X-play {
background-color: purple;
}
@-webkit-keyframes animate {
from {background-position:0 0;}
to {background-position: 500px 0;}
}
@-moz-keyframes animate {
from {background-position:0 0;}
to {background-position: 500px 0;}
}
@-ms-keyframes animate {
from {background-position:0 0;}
to {background-position: 500px 0;}
}
@-o-keyframes animate {
from {background-position:0 0;}
to {background-position: 500px 0;}
}
@keyframes animate {
from {background-position:0 0;}
to {background-position: 500px 0;}
}