Skip to content

Commit

Permalink
update: adjust margin of logo when applying swiping operations
Browse files Browse the repository at this point in the history
  • Loading branch information
hijiangtao committed Apr 14, 2019
1 parent 854edaf commit 654dc1f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
/* animation-direction: alternate; */
content: '';
display: inline-block;
margin-left: -40vmin;
margin-left: -48vmin;
margin-right: 8vmin;
/* animation: App-logo-swipe 1s linear; */
}

Expand Down Expand Up @@ -67,7 +68,7 @@

@keyframes App-logo-swipe {
from {
transform: translateX(100%);
transform: translateX(120%);
opacity: 0;
}
to {
Expand All @@ -78,7 +79,7 @@

@keyframes App-logo-swipe-reverse {
from {
transform: translateX(100%);
transform: translateX(120%);
opacity: 1;
}
to {
Expand Down

0 comments on commit 654dc1f

Please sign in to comment.