旧版本 iOS 不支持 inset CSS 属性 #11

This commit is contained in:
itorr
2022-08-15 20:00:38 +08:00
parent 4a654d3166
commit 4b769b4ac7

View File

@@ -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;
}