From cd368f42ed7722933ce0b1d8b52dda51ea24357d Mon Sep 17 00:00:00 2001 From: na-siddiky-qp Date: Mon, 13 Oct 2025 17:50:28 +0600 Subject: [PATCH] Refactor z-index values for navbar, modal overlay, and sticky header for better stacking context --- sessions/s05_css_positions/task/task.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sessions/s05_css_positions/task/task.css b/sessions/s05_css_positions/task/task.css index 9e8d77b..a27f894 100644 --- a/sessions/s05_css_positions/task/task.css +++ b/sessions/s05_css_positions/task/task.css @@ -38,7 +38,7 @@ Complete each task by adding CSS rules below. top: 0; left: 0; right: 0; - z-index: 1000; + z-index: 11; } /* ============================================ @@ -75,7 +75,7 @@ Complete each task by adding CSS rules below. left: 0; right: 0; bottom: 0; - z-index: 999; + z-index: 10; } /* ============================================ @@ -86,7 +86,7 @@ Complete each task by adding CSS rules below. .sticky-header { position: sticky; top: 0; - z-index: 10; + z-index: 2; } /* ============================================ @@ -185,7 +185,7 @@ Complete each task by adding CSS rules below. position: fixed; bottom: 20px; right: 20px; - z-index: 1000; + z-index: 10; } /* ============================================