Skip to content

Commit

Permalink
Fixed issue with animation not being shown on mobile for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Madman10K committed Nov 9, 2023
1 parent 311cfb0 commit ce9ac47
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -242,14 +242,22 @@ header {

.slide-right {
overflow: hidden;
width: 100%;
/*animation-delay: 0.1s;*/
}

.slide-right .slide-able {
-webkit-animation: 1.5s slide-right 0.25s forwards;
animation: 1.5s slide-right 0.25s forwards;
transform: translateX(-100%);
}

@-webkit-keyframes slide-right {
to {
transform: translateX(0);
}
}

@keyframes slide-right {
to {
transform: translateX(0);
Expand Down

0 comments on commit ce9ac47

Please sign in to comment.