优化layer弹窗
parent
f997a68df9
commit
4a55dec749
|
@ -40,12 +40,12 @@
|
||||||
.layer {
|
.layer {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex: 0 auto;
|
flex: 0 auto;
|
||||||
position: fixed;
|
position: absolute;
|
||||||
z-index: 65535;
|
z-index: 65535;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #666;
|
color: #666;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
background: rgba(255, 255, 255, 0.7);
|
background: rgba(255, 255, 255, 0.8);
|
||||||
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
|
||||||
transition: opacity 0.2s ease-in-out, left 0.2s ease-in-out,
|
transition: opacity 0.2s ease-in-out, left 0.2s ease-in-out,
|
||||||
right 0.2s ease-in-out, top 0.2s ease-in-out, bottom 0.2s ease-in-out;
|
right 0.2s ease-in-out, top 0.2s ease-in-out, bottom 0.2s ease-in-out;
|
||||||
|
|
Reference in New Issue