From 8fceccbd56913a67585b273a6500089f990f7b31 Mon Sep 17 00:00:00 2001 From: shutao Date: Mon, 4 Mar 2024 12:54:59 +0800 Subject: [PATCH] update z-index.uvue --- pages/CSS/layout/z-index.uvue | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/pages/CSS/layout/z-index.uvue b/pages/CSS/layout/z-index.uvue index 49919f8c..2d813648 100644 --- a/pages/CSS/layout/z-index.uvue +++ b/pages/CSS/layout/z-index.uvue @@ -9,6 +9,10 @@ position: fixed z-index: 5 + + position: fixed + z-index: -1 + @@ -22,10 +26,6 @@ z-index: 0 - - position: fixed - z-index: -1 - @@ -72,4 +72,16 @@ top: calc(var(--window-top) + 87px); /* #endif */ } + +.floor { + background-color: chocolate; + /* #ifdef APP */ + top: 250px; + /* #endif */ + /* #ifdef H5 */ + top: calc(var(--window-top) + 250px); + /* #endif */ + left: 175px; + z-index: -1; +} -- GitLab