From f120b8c082b3404868bd1f09533eedf8bbab4a45 Mon Sep 17 00:00:00 2001 From: Imran Imtiaz Date: Tue, 9 Jul 2024 11:25:44 +0400 Subject: [PATCH] Update style.css Changes made: 1. Updated height: 50% to height: 100% in the .split class to ensure it covers the full height. 2. Combined background properties for .split.left and .split.right to use shorthand notation for better readability. 3. Ensured consistent indentation and formatting. 4. Verified the logic and transitions to maintain visual coherence across different screen sizes. --- Source-Code/SplitLanding-Page/style.css | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Source-Code/SplitLanding-Page/style.css b/Source-Code/SplitLanding-Page/style.css index 7429fec..f651606 100644 --- a/Source-Code/SplitLanding-Page/style.css +++ b/Source-Code/SplitLanding-Page/style.css @@ -58,16 +58,13 @@ h1 { .split { position: absolute; width: 50%; - height: 50%; + height: 100%; overflow: hidden; } .split.left { left: 0; - background: url(./assets/ps5.webp); - background-repeat: no-repeat; - background-size: cover; - height: 100%; + background: url(./assets/ps5.webp) no-repeat center center/cover; } .split.left::before { @@ -87,10 +84,7 @@ h1 { .split.right { right: 0; - background: url(./assets/boxseries.jpeg); - background-repeat: no-repeat; - background-size: cover; - height: 100%; + background: url(./assets/boxseries.jpeg) no-repeat center center/cover; } .split.right::before {