Skip to content

Commit

Permalink
index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTusarRX authored Jun 27, 2024
1 parent 6f1775b commit 157baf6
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,24 +81,24 @@
color: #555;
}
.Text {
display: inline-block;
animation: scrollText 10s linear infinite;
}
display: inline-block;
white-space: nowrap; /* Ensures text stays in a single line */
overflow: hidden; /* Hides overflow text */
animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
0% {
transform: translateX(100%); /* Start outside from the right */
}
50% {
transform: translateX(-100%); /* Halfway, text moves to the left */
}
100% {
transform: translateX(0%); /* End at the left side */
}
}

@keyframes scrollText {
0% {
transform: translateX(200%); /* Start outside from the right */
}
50% {
transform: translateX(0); /* End at the left side */
}
50.1% {
transform: translateX(-200%); /* Jump back to start outside from the left */
}
100% {
transform: translateX(0%); /* End at the right side */
}
}
.spinner {
border: 4px solid rgba(0, 0, 0, 0.1);
border-left-color: #333;
Expand Down

0 comments on commit 157baf6

Please sign in to comment.