From 0c3443d643be91608048c767d318cb9a4cfccca7 Mon Sep 17 00:00:00 2001 From: Gokul Sami <118269253+Gokul-sami@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:46:06 +0530 Subject: [PATCH] Update ex2.css --- Exercise 2/ex2.css | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/Exercise 2/ex2.css b/Exercise 2/ex2.css index 41e5b2c..48e4faf 100644 --- a/Exercise 2/ex2.css +++ b/Exercise 2/ex2.css @@ -48,31 +48,19 @@ body{ transition: transform 0.1s ease-in-out; } -/* Close Button */ -.close-button { - background-color: rgb(152, 144, 144); - color: white; - border: none; - padding: 5px 10px; - font-size: 16px; - cursor: pointer; - border-radius: 5px; - margin-bottom: 10px; - float: right; - +.close-button{ + width: 1.5rem; } -.close-button:hover { - background-color: #ff0000; +.close-button:hover{ + transform: translateY(-2px); } -/* Song Image */ .song-image img { width: 215px; border-radius: 10px; } -/* Song Details */ .song-details { margin-top: 20px; text-align: center; @@ -90,7 +78,6 @@ body{ color: rgb(147, 142, 142); } -/* Song Audio Player */ .song-audio { margin-top: 20px; text-align: center;