Added autohide with animation for flash message
This commit is contained in:
@@ -1 +1,16 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
@theme {
|
||||
/* 1. Die CSS-Variable für die Animation definieren */
|
||||
--animate-shrink: shrink 5s linear forwards;
|
||||
|
||||
/* 2. Die dazugehörigen Keyframes festlegen */
|
||||
@keyframes shrink {
|
||||
0% {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
100% {
|
||||
transform: scaleX(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user