-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackground_style.css
More file actions
111 lines (97 loc) · 2.02 KB
/
background_style.css
File metadata and controls
111 lines (97 loc) · 2.02 KB
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
/* Resetting default margin and padding */
* {
margin: 0;
padding: 0;
}
/* Styling for the welcome section */
.welcome {
background-image: linear-gradient(#ff5722, #ffc107);
position: relative;
height: 100vh; /* Set the height to cover the viewport */
overflow: hidden; /* Hide overflow */
font-family: sans-serif;
}
/* Styling for the list items */
ul li {
position: absolute;
border: 1px solid #fff;
width: 30px;
height: 30px;
list-style: none;
opacity: 0;
background: #fff;
}
/* Styling for square animation */
.square li {
top: 50vh;
left: 45vw;
animation: square 10s linear infinite;
}
.square li:nth-child(2) {
top: 80vh;
left: 10vw;
animation-delay: 2s;
}
.square li:nth-child(3) {
top: 80vh;
left: 85vw;
animation-delay: 4s;
}
.square li:nth-child(4) {
top: 10vh;
left: 70vw;
animation-delay: 6s;
}
.square li:nth-child(5) {
top: 10vh;
left: 70vw;
animation-delay: 8s;
}
/* Square animation keyframes */
@keyframes square {
0% {
transform: scale(0) rotateY(0deg);
opacity: 1;
}
100% {
transform: scale(5) rotateY(1000deg);
opacity: 0;
}
}
/* Styling for circle animation */
.circle li {
bottom: 0;
left: 15vw;
animation: circle 10s linear infinite;
}
.circle li:nth-child(2) {
left: 35vw;
animation-delay: 1.5s;
}
.circle li:nth-child(3) {
left: 55vw;
animation-delay: 4s;
}
.circle li:nth-child(4) {
left: 75vw;
animation-delay: 2s;
}
.circle li:nth-child(2) {
left: 90vw; /* Fixed the typo here */
animation-delay: 6s;
}
/* Circle animation keyframes */
@keyframes circle {
0% {
transform: scale(0) rotate(0deg);
opacity: 1;
bottom: 0;
border-radius: 0;
}
100% {
transform: scale(5) rotate(1000deg);
opacity: 0;
bottom: 90vh;
border-radius: 50%;
}
}