-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
75 lines (72 loc) · 1.48 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
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
:root
{
--time-duration:9s;
}
body {
margin: 0px;
font-family: 'Poppins', sans-serif;
background-color: #2E4F4F;
}
body::-webkit-scrollbar
{
overflow:hidden;
display:none;
}
h3
{
margin:0px;
color: white;
}
#rod-one {
position: absolute;
top: 0%;
background-color: rgb(0, 0, 0);
border: 2px solid black;
width: 20vw;
box-sizing: border-box;
border-radius: 20px;
height: 5vh;
padding:5px;
text-align: center;
}
#rod-two {
position: absolute;
bottom: 0%;
background-color: rgb(0, 0, 0);
border-radius: 20px;;
border: 2px solid black;
width: 20vw;
box-sizing: border-box;
height: 5vh;
padding:5px;
text-align: center;
}
#ball {
height: 50px;
width: 50px;
position:absolute;
border-radius: 50%;
background-image:radial-gradient(rgb(255, 255, 255) 0%,black 221%);
box-sizing: border-box;
}
.animate-top-right
{
transition:transform linear var(--time-duration);
transform: translateX(2000px) translateY(-2000px);
}
.animate-bottom-right
{
transition:transform linear var(--time-duration);
transform: translateX(2000px) translateY(2000px);
}
.animate-top-left
{
transition:transform linear var(--time-duration);
transform: translateX(-2000px) translateY(-2000px);
}
.animate-bottom-left
{
transition:transform linear var(--time-duration);
transform: translateX(-2000px) translateY(2000px);
}