style: add sliding-background animation to hero image text
This commit is contained in:
@@ -637,7 +637,12 @@
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-repeat: repeat;
|
||||
animation: sliding-background 40s linear infinite;
|
||||
}
|
||||
@keyframes sliding-background {
|
||||
0% { background-position: 0 0; }
|
||||
100% { background-position: -1000px 0; }
|
||||
}
|
||||
|
||||
/* ── Scroll-reveal base ── */
|
||||
|
||||
Reference in New Issue
Block a user