Skip to content

Commit

Permalink
feat: animate the logo, closes #56
Browse files Browse the repository at this point in the history
  • Loading branch information
berntpopp committed Dec 4, 2023
1 parent bb6d087 commit 7f428bb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -916,10 +916,25 @@ body {
width: 100%; /* Full width */
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}
/* Styles for the application logo */
.app-logo {
max-width: 92px; /* Fixed maximum width */
margin-right: 20px; /* Spacing between logo and title */
animation: fadeIn 2s ease-out forwards;
}
.app-logo:hover {
animation: pulse 2s infinite;
}
/* Styling for the application title */
Expand Down

0 comments on commit 7f428bb

Please sign in to comment.