-
Notifications
You must be signed in to change notification settings - Fork 3
/
BOSM.css
179 lines (157 loc) · 3.53 KB
/
BOSM.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700");
body{
margin: 0;
background: #FFFF00;
font-family: "Open Sans";
background-color: #e0e326;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 800'%3E%3Cg fill-opacity='0.88'%3E%3Ccircle fill='%23e0e326' cx='400' cy='400' r='600'/%3E%3Ccircle fill='%23febc14' cx='400' cy='400' r='500'/%3E%3Ccircle fill='%23ff9232' cx='400' cy='400' r='400'/%3E%3Ccircle fill='%23ff6951' cx='400' cy='400' r='300'/%3E%3Ccircle fill='%23fb4670' cx='400' cy='400' r='200'/%3E%3Ccircle fill='%23d9348b' cx='400' cy='400' r='100'/%3E%3C/g%3E%3C/svg%3E");
background-attachment: fixed;
background-size: cover;
width: auto;
}
canvas{
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: 0;
}
a {
text-decoration: none;
display: inline-block;
padding: 8px 16px;
}
a:hover {
background-color: #ddd;
color: black;
}
.previous {
position: relative;
left: 800px;
top: 650px;
background-color: #f1f1f1;
color: black;
}
.next {
background-color: #4CAF50;
color: white;
}
.round {
border-radius: 50%;
}
.tennis-player{
padding-bottom: 50px;
float:left;
top: 10px;
height:300px;
transition: all 2s ease 0s;
animation: rotatePlayer 2s ease-in-out infinite;
}
.ball-pack{
background-color:red;
display:block;
margin-left: 28%;
margin-right: 80%;
margin-top: 10%;
}
.bouncing-ball {
background: #0EBB9A;
width: 20px;
height: 20px;
margin:5px;
transition: all 2s ease 0s;
animation: bouncing 2s ease-in-out infinite alternate forwards;
border-radius: 50%;
}
.bouncing-ball:nth-child(2){
animation-delay: 100ms;
}
.bouncing-ball:nth-child(3){
animation-delay: 150ms;
}
.bouncing-ball:nth-child(4){
animation-delay: 200ms;
}
.racquet{
width:100px;
height: 10px;
background: rosybrown;
margin-left: 24%;
margin-top: -10px;
}
@keyframes rotatePlayer{
0% {
transform: rotateY(0deg);
}
60% {
transform: rotateY(30deg);
}
100% {
transform: rotateY(0deg);
}
}
@keyframes bouncing{
0% {
transform:initial;
}
60% {
transform: translate3d(0px, -35px,0px);
margin-top: 0px;
margin-bottom: 0px;
}
100% {
transform: initial;
}
}
.sticke{
padding-bottom: 50px;
float: right;
top: 0;
height:300px;
transition: all 2s ease 0s;
animation: rotatePlayer 2s ease-in-out infinite;
}
.bouncingH{
background: #0EBB9A;
float: right;
top: 0;
width: 20px;
height: 20px;
margin:50px;
transition: all 2s ease 0s;
animation: bouncing 2s ease-in-out infinite alternate forwards;
border-radius: 50%;
}
@keyframes rotateStick{
0% {
transform: rotateY(0deg);
}
60% {
transform: rotateY(30deg);
}
100% {
transform: rotateY(0deg);
}
}
@keyframes bouncingH{
0% {
transform:initial;
}
60% {
transform: translate3d(0px, -35px,0px);
margin-top: 0px;
margin-bottom: 0px;
}
100% {
transform: initial;
}
}
.timer{
position:absolute;
top:700px;
right:30px;
color:#fff;
font-size:20px;
letter-spacing:1px;
}