Skip to content

Commit

Permalink
make visibility of the cards better #4
Browse files Browse the repository at this point in the history
  • Loading branch information
michivonah committed Jan 22, 2023
1 parent 74a9438 commit 1e781c6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ body{
}

.card:is(.playerLeft){
transform: translate(-60%, -50%) rotate(90deg);
transform: translate(-70%, -50%) rotate(90deg);
-webkit-animation: slideInFromLeft 0.4s 1;
animation: slideInFromLeft 0.4s 1;
}
Expand All @@ -202,7 +202,7 @@ body{
}

.card:is(.playerRight){
transform: translate(-40%, -50%) rotate(270deg);
transform: translate(-30%, -50%) rotate(270deg);
-webkit-animation: slideInFromRight 0.4s 1;
animation: slideInFromRight 0.4s 1;
}
Expand All @@ -227,19 +227,19 @@ body{

@keyframes slideInFromLeft{
0%{
transform: translate(-70%, -50%) rotate(90deg);
transform: translate(-80%, -50%) rotate(90deg);
}
100%{
transform: translate(-60%, -50%) rotate(90deg);
transform: translate(-70%, -50%) rotate(90deg);
}
}

@-webkit-keyframes slideInFromLeft{
0%{
-webkit-transform: translate(-70%, -50%) rotate(90deg);
-webkit-transform: translate(-80%, -50%) rotate(90deg);
}
100%{
-webkit-transform: translate(-60%, -50%) rotate(90deg);
-webkit-transform: translate(-70%, -50%) rotate(90deg);
}
}

Expand All @@ -263,19 +263,19 @@ body{

@keyframes slideInFromRight{
0%{
transform: translate(-30%, -50%) rotate(270deg);
transform: translate(-20%, -50%) rotate(270deg);
}
100%{
transform: translate(-40%, -50%) rotate(270deg);
transform: translate(-30%, -50%) rotate(270deg);
}
}

@-webkit-keyframes slideInFromRight{
0%{
-webkit-transform: translate(-30%, -50%) rotate(270deg);
-webkit-transform: translate(-20%, -50%) rotate(270deg);
}
100%{
-webkit-transform: translate(-40%, -50%) rotate(270deg);
-webkit-transform: translate(-30%, -50%) rotate(270deg);
}
}

Expand Down

0 comments on commit 1e781c6

Please sign in to comment.