mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
animate inbox notification dot onLoad
This commit is contained in:
parent
17e55c8116
commit
f5b52b90f7
2 changed files with 30 additions and 0 deletions
|
|
@ -99,6 +99,21 @@
|
|||
/* Style: red dot with white border */
|
||||
background-color: var(--failColor);
|
||||
border: 2px solid var(--matterColorLight);
|
||||
|
||||
animation-name: notificationPop;
|
||||
animation-duration: 0.1s;
|
||||
animation-delay: 0.1s;
|
||||
animation-fill-mode: forwards;
|
||||
|
||||
animation-timing-function: ease-in;
|
||||
opacity: 0;
|
||||
transform: scale(0);
|
||||
}
|
||||
|
||||
|
||||
@keyframes notificationPop {
|
||||
0% {transform: scale(0); opacity: 0;}
|
||||
100% {transform: scale(1); opacity: 1;}
|
||||
}
|
||||
|
||||
.desktop {
|
||||
|
|
|
|||
|
|
@ -160,6 +160,21 @@
|
|||
|
||||
/* Style: red dot */
|
||||
background-color: var(--failColor);
|
||||
|
||||
animation-name: notificationPop;
|
||||
animation-duration: 0.1s;
|
||||
animation-delay: 0.1s;
|
||||
animation-fill-mode: forwards;
|
||||
|
||||
animation-timing-function: ease-in;
|
||||
opacity: 0;
|
||||
transform: scale(0);
|
||||
}
|
||||
|
||||
|
||||
@keyframes notificationPop {
|
||||
0% {transform: scale(0); opacity: 0;}
|
||||
100% {transform: scale(1); opacity: 1;}
|
||||
}
|
||||
|
||||
/* Profile menu */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue