Skip to content

Commit 5a1fea7

Browse files
authored
fix(uui-button): 🚑 add back missing animation (#782)
1 parent 13fd470 commit 5a1fea7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

packages/uui-button/lib/uui-button.element.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,26 @@ export class UUIButtonElement extends UUIFormControlMixin(
348348
a:not([href]):active {
349349
animation: ${UUIHorizontalShakeAnimationValue};
350350
}
351+
352+
/* ANIMATIONS */
353+
@keyframes fadeIn {
354+
0% {
355+
opacity: 0;
356+
}
357+
100% {
358+
opacity: 1;
359+
}
360+
}
361+
362+
@keyframes fadeOut {
363+
0% {
364+
opacity: 1;
365+
}
366+
100% {
367+
opacity: 0;
368+
}
369+
}
370+
351371
#icon-check,
352372
#icon-wrong {
353373
display: grid;

0 commit comments

Comments
 (0)