Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
erhuodaosi authored Aug 9, 2024
1 parent 9ca1372 commit 1fa8359
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -415,25 +415,21 @@ video {
margin-bottom: 10px;
}

.shark-pink-txt {
.shark-txt, .shark-pink-txt {
-webkit-text-fill-color: transparent;
text-fill-color: transparent;
-webkit-background-clip: text !important;
background-clip: text !important;
animation: shark-txt 2s infinite;
background: linear-gradient(90deg, rgba(255, 20, 147, 0) 40%, rgba(255, 20, 147, 0.7), rgba(255, 20, 147, 0) 60%) -100% / 50% no-repeat currentColor;
}

.shark-txt {
background: linear-gradient(90deg, #ff1493 0%, #FFF 30%, #ff1493 100%);
background-size: 200%;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-fill-color: transparent;
animation: shining 3s linear infinite;
background: linear-gradient(45deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 60%) -100% / 50% no-repeat currentColor;
}

.shark-pink-txt {
background: linear-gradient(90deg, rgba(255, 20, 147, 0) 40%, rgba(255, 20, 147, 0.7), rgba(255, 20, 147, 0) 60%) -100% / 50% no-repeat currentColor;
}

@keyframes shark-txt {
from {
Expand Down Expand Up @@ -527,13 +523,3 @@ video {
background-position: 28000px;
}
}

@keyframes shining {
from {
background-position: -500%;
}

to {
background-position: 500%;
}
}

0 comments on commit 1fa8359

Please sign in to comment.