-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (77 loc) · 967 Bytes
/
style.css
File metadata and controls
86 lines (77 loc) · 967 Bytes
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
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0;
}
ul {
display: table;
width: 100%;
padding: 30px 0;
}
li {
display: table-cell;
text-align: center;
}
button {
padding: 20px;
}
.bouncy-ball {
background: red;
border-radius: 50%;
position: fixed;
top: 50%;
left: 0;
width: 80px;
height: 80px;
margin-top: -40px;
-ms-animation: bounce 3s infinite;
-moz-animation: bounce 3s infinite;
-webkit-animation: bounce 3s infinite;
animation: bounce 3s infinite;
}
@-ms-keyframes bounce {
0% {
left: 0;
}
50% {
left: calc(100% - 80px)
}
100% {
left: 0;
}
}
@-moz-keyframes bounce {
0% {
left: 0;
}
50% {
left: calc(100% - 80px)
}
100% {
left: 0;
}
}
@-webkit-keyframes bounce {
0% {
left: 0;
}
50% {
left: calc(100% - 80px)
}
100% {
left: 0;
}
}
@keyframes bounce {
0% {
left: 0;
}
50% {
left: calc(100% - 80px)
}
100% {
left: 0;
}
}