Skip to content

Commit 3773315

Browse files
auto scroll
1 parent 4d3d74d commit 3773315

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/app/globals.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,22 @@ html {
9292
}
9393
}
9494

95+
@keyframes scrollpartner {
96+
0% {
97+
transform: translateX(2%);
98+
}
99+
50% {
100+
transform: translateX(-98%);
101+
}
102+
100% {
103+
transform: translateX(2%);
104+
}
105+
}
106+
107+
.animate-scroll {
108+
animation: scrollpartner 30s ease-in-out infinite;
109+
}
110+
95111
::-webkit-scrollbar {
96112
width: 10px;
97113
}

0 commit comments

Comments
 (0)