Skip to content

Commit

Permalink
Don't fade in on mobile for performance
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-panhead committed Apr 19, 2024
1 parent a151932 commit 346166f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ import Socials from "../components/socials/Socials.astro";
<style>

body {
animation: fadeInAnimation 0.7s ease;
animation-fill-mode: forwards;
@media (min-width: 1024px) {
animation: fadeInAnimation 0.7s ease;
animation-fill-mode: forwards;
}
}
@keyframes fadeInAnimation {
0% {
Expand Down

0 comments on commit 346166f

Please sign in to comment.