feat: add animations

This commit is contained in:
Kentai Radiquum 2024-09-14 23:48:40 +05:00
parent 1f4628a259
commit 53c4d26eaa
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
4 changed files with 238 additions and 98 deletions

View file

@ -28,4 +28,39 @@ body {
.bio {
font-family: 'Fira Mono', monospace;
}
#track-name::after {
content: '';
display: inline-block;
margin-left: 4px;
width: 8px;
height: 24px;
background-color: var(--cursor-color, transparent);
-webkit-animation: var(--cursor-animation, none) 1s infinite;
animation: var(--cursor-animation, none) 1s infinite;
}
@-webkit-keyframes blink {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes blink {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}