Skip to content

Commit

Permalink
made Modal Animation project Responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkit-30 committed Sep 2, 2021
1 parent c29f9d5 commit 8a94fb0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Modal/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,16 @@ footer {
left: 5px;
color: white;
}
@media (max-width: 600px) {
body {
text-align: center;
}
.modal {
width: 80vw;
margin: auto;
height: 50vh;
position: absolute;
padding: 20px;
right: 7%;
}
}

0 comments on commit 8a94fb0

Please sign in to comment.