Add text animation

This commit is contained in:
2022-08-31 20:52:46 +02:00
parent 411feef7c6
commit 1544841637
2 changed files with 46 additions and 2 deletions

View File

@ -255,4 +255,29 @@ a:hover {
::-webkit-scrollbar-track{
background: transparent;
}
/* ------------ */
/* ------------ */
.reveal{
position: relative;
opacity: 0;
}
.reveal.active{
opacity: 1;
}
.active.fade {
animation: fade 1s;
}
@keyframes fade {
0% {
transform: scale(0.8, 0.8);
opacity: 0;
}
100% {
transform: scale(1, 1);
opacity: 1;
}
}