Skip to content

Commit

Permalink
Update ex2.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Gokul-sami authored Sep 3, 2024
1 parent 882c60e commit 144ee0b
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions Exercise 2/ex2.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@ body{
transform: translateY(-5px);
transition: transform 80ms;
}
.song-details-container {
position: fixed;
right: 0;
top: 0;
width: 30%;
height: 100%;
background-color: rgb(192, 141, 255);
box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
display: none; /* Hidden by default */
padding: 20px;
overflow-y: auto;
}



Expand All @@ -64,6 +52,22 @@ body{



/* Song Details Container */
.song-details-container {
width: 30%;
height: 100vh;
position: fixed;
right: 0;
top: 0;
background-color: #ffffff;
padding: 20px;
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
overflow-y: auto;
z-index: 1000;
display: none; /* Hidden by default, will be shown with JS */
transition: transform 0.3s ease-in-out;
}

/* Close Button */
.close-button {
background-color: #ff0000;
Expand Down

0 comments on commit 144ee0b

Please sign in to comment.