From 4b769b4ac77ebb996b35bb4e4a8517deff503809 Mon Sep 17 00:00:00 2001 From: itorr Date: Mon, 15 Aug 2022 20:00:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A7=E7=89=88=E6=9C=AC=20iOS=20=E4=B8=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20inset=20CSS=20=E5=B1=9E=E6=80=A7=20#11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/document.less | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/html/document.less b/html/document.less index b0da61f..cd1c17a 100644 --- a/html/document.less +++ b/html/document.less @@ -42,7 +42,11 @@ header{ } .loading-box{ position: fixed; - inset: 0; + + top:0; + right:0; + left:0; + bottom:0; z-index:1; background:#FFF; h2{ @@ -55,7 +59,11 @@ header{ height: 40px; margin:auto; position: absolute; - inset: 0; + + top:0; + right:0; + left:0; + bottom:0; opacity: 0; animation: opacityIn 3s ease 1s; }