Skip to content

Commit 7722ce3

Browse files
committed
chore: add nudge animation to 'Why do this' text
1 parent 3100a9e commit 7722ce3

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/components/longevity/LongevitySubSection/LongevitySubSection.module.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
}
5959
}
6060

61+
.habitTooltip {
62+
animation: pulse-shadow-animation 2s infinite;
63+
}
64+
6165
.dateTxt {
6266
cursor: default;
6367

@@ -187,3 +191,15 @@
187191
justify-content: space-between;
188192
}
189193
}
194+
195+
@keyframes pulse-shadow-animation {
196+
0% {
197+
filter: drop-shadow(0px 0px 18px rgba(53, 35, 13, 0.2));
198+
}
199+
70% {
200+
filter: drop-shadow(0px 0px 18px rgba(255, 0, 0, 0.8));
201+
}
202+
100% {
203+
filter: drop-shadow(0px 0px 18px rgba(53, 35, 13, 0.2));
204+
}
205+
}

0 commit comments

Comments
 (0)