-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
53 lines (41 loc) · 929 Bytes
/
styles.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
@keyframes spin {
0% {background: url("./images/heads.png")}
25% {background: url("./images/tails.png")}
50% {background: url("./images/heads.png")}
75% {background: url("./images/tails.png")}
100% {background: url("./images/heads.png")}
}
#image{
background: url("./images/heads.png");
width: 227px;
height: 337px;
}
.animate{
background: url("./images/heads.png");
width: 227px;
height: 337px;
animation-name: spin;
animation-iteration-count: 2;
animation-duration: 1s;
}
.canvas{
width: 800px;
height: 500px;
margin: 50px auto;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 1.5em;
}
#center{
width: 227px;
margin: 15px auto;
}
.selection, #player, #computer{
display: inline;
margin: 25px;
font-size: 1.3em;
}
button {
font-size: 1.2em;
border-radius: 5px;
}