-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathhelix.css
More file actions
26 lines (22 loc) · 701 Bytes
/
helix.css
File metadata and controls
26 lines (22 loc) · 701 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
/* helix.css */
/* Container supporting 3D space */
.conveyor-container {
perspective: 1000px; /* Adjust as needed for the depth effect */
}
/* Keyframes for the helix animation */
@keyframes helix {
0% {
transform: translateX(100%) rotateY(0deg) translateY(0px);
}
50% {
/* Adjust translateY for the amplitude, adjust translateX and rotateY for the tightness and direction of the helix */
transform: translateX(50%) rotateY(180deg) translateY(20px);
}
100% {
transform: translateX(0%) rotateY(360deg) translateY(0px);
}
}
/* Class to apply the helix animation */
.animate-helix {
animation: helix 20s linear infinite;
}