mirror of
https://github.com/itorr/one-last-image.git
synced 2026-01-02 11:56:02 +08:00
旧版本 iOS 不支持 inset CSS 属性 #11
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user