Initial commit xmarticaims
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
[data-anime-scroll-title].anime-scroll-title-ready [data-word] {
|
||||
will-change: transform, opacity;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
/* splitText creates transformed word wrappers. Reapply the original title
|
||||
gradient to those wrappers so background-clip remains visible while moving. */
|
||||
[data-anime-scroll-title] [data-anime-title-gradient] [data-word] {
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
[data-anime-scroll-title] [data-anime-title-gradient-continuous] [data-word] {
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
[data-anime-scroll-title] [data-word] {
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user