Skip to content

Commit

Permalink
edit same styling issues in solution file
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonLef committed Jul 17, 2023
1 parent 2e54850 commit 18b91bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions animation/02-pop-up/solution/solution.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ button {
opacity: 0%;
text-align: center;
}

.popup-modal p {
margin-bottom: 24px
margin-bottom: 24px;
}

.backdrop {
Expand All @@ -64,12 +65,10 @@ button {
/* SOLUTION */

.popup-modal {
transition: transform .3s ease-in-out, opacity .4s ease;
transition: transform 0.3s ease-in-out, opacity 0.4s ease;
transform: translate(-50%, -100%);
}

.popup-modal.show {
transform: translate(-50%, -50%);
}


0 comments on commit 18b91bc

Please sign in to comment.