Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
feat: slow pulse animation
Browse files Browse the repository at this point in the history
Add slow pulsing animation for use with loading screen

fix #332
  • Loading branch information
Schalk Neethling committed Dec 6, 2020
1 parent 208f11a commit 213a735
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions sass/mixins/_animation.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@mixin slow-pulse() {
animation: 2s infinite normal slow-pulse;
}

@mixin fade-in() {
animation: fade-in 0.5s ease-out;
}
Expand All @@ -15,3 +19,17 @@
opacity: 1;
}
}

@keyframes slow-pulse {
0% {
opacity: 0;
}

50% {
opacity: 1;
}

100% {
opacity: 0;
}
}

0 comments on commit 213a735

Please sign in to comment.