Skip to content

Commit

Permalink
feat: added pulsing animation to loading
Browse files Browse the repository at this point in the history
  • Loading branch information
João Dias committed Dec 25, 2024
1 parent 347cf62 commit 8fdbf28
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,33 @@
font-size: 68px;
line-height: 92px;
color: var(--color-foreground);
animation-name: pulse;
animation-duration: 3000ms;
animation-timing-function: ease-in-out;
animation-delay: 300ms;
animation-iteration-count: infinite;;
}

* {
box-sizing: border-box;
}

@keyframes pulse {
0% {
transform: scale(1);
opacity: 1;
}

50% {
transform: scale(1.1);
opacity: 0.5
}

100% {
transform: scale(1);
opacity: 1;
}
}
</style>
</head>
<body>
Expand Down

0 comments on commit 8fdbf28

Please sign in to comment.