Skip to content

Commit

Permalink
translate by distance not %
Browse files Browse the repository at this point in the history
accounts for large screens
  • Loading branch information
alifeee committed Dec 14, 2023
1 parent fb1ad70 commit 1b3705b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/stylesheet-index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
translate: 0;
}
50% {
translate: -50%;
translate: -40rem;
}
100% {
translate: 0;
Expand All @@ -17,7 +17,7 @@
translate: 0;
}
50% {
translate: +50%;
translate: +40rem;
}
100% {
translate: 0;
Expand Down

0 comments on commit 1b3705b

Please sign in to comment.