Skip to content

Commit 3a17e8d

Browse files
committed
update: _animation.scss — adjusting for new implementation
1 parent f655d4d commit 3a17e8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/assets/scss/components/_animation.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[data-animation] {
22
opacity: 0;
33
transition: translate var(--_translate, 1s) ease-in-out, scale var(--_scale, 1s) ease-in-out, rotate var(--_rotate, 1s) ease-in-out, opacity var(--_opacity, 1s) ease-in-out;
4+
transition-delay: attr(data-transition-delay, 0ms);
45
}
56

67
[data-animation='fade-in'] {
@@ -31,7 +32,7 @@
3132
}
3233
}
3334

34-
.has-been-animated {
35+
.has-been-animated, [data-has-been-animated] {
3536
opacity: unset;
3637
scale: unset;
3738
rotate: unset;

0 commit comments

Comments
 (0)