Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ body {
-webkit-mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent)
}

.scroll div {
.scroll > div {
white-space: nowrap;
animation: scroll var(--time) linear infinite;
animation-delay: calc(var(--time)*-1);

}

.scroll div:nth-child(2) {
.scroll > div:nth-child(2) {
animation: scroll2 var(--time) linear infinite;
animation-delay: calc(var(--time)/-2);
}
Expand Down Expand Up @@ -79,4 +78,4 @@ body {
.imgBox img {
max-width: 100px;
scale: 0.8;
}
}