Skip to content

Commit

Permalink
CSS Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan03ant committed Jan 5, 2024
1 parent c24e075 commit 975a790
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,30 @@ body {
background: #373636;
}

.slide-in {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: black;
transform-origin: bottom;
z-index: 1; /* Add this */
}

.slide-out {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: black;
transform-origin: top;
z-index: 1; /* Add this */
}

/* Add this for your pages */
.page {
position: relative;
z-index: 2; /* This should be higher than the z-index of slide-in and slide-out */
}

0 comments on commit 975a790

Please sign in to comment.