Skip to content

Commit

Permalink
Added animation in center.
Browse files Browse the repository at this point in the history
  • Loading branch information
arundada9000 committed Aug 22, 2024
1 parent 08f06f6 commit 231fd4c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,21 @@
}
}

@keyframes spin {
from {
transform: rotate(0deg);
}

to {
transform: rotate(360deg);
}
}

.animated-image {
animation: fadeIn 1s ease-in forwards;
animation-delay: 2s;
animation: fadeIn 1s ease-in forwards, spin 2s linear 1s forwards;
animation-delay: 2s, 2s;
opacity: 0;
transform-origin: 50% 50%;
}

.main-content {
Expand Down

0 comments on commit 231fd4c

Please sign in to comment.