image preview

This commit is contained in:
cookfront
2017-03-15 20:56:37 +08:00
parent bf710d1261
commit 0bf7852f0b
8 changed files with 68 additions and 50 deletions

View File

@@ -5,13 +5,13 @@
left: 0;
width: 100%;
height: 100%;
overflow: scroll;
overflow: auto;
@e image {
display: block;
width: 100%;
height: auto;
transition: .2s;
transition: .2s ease-out;
position: absolute;
left: 0;
@@ -19,11 +19,10 @@
top: 50%;
transform: translate3d(0, -50%, 0);
}
}
@m top {
top: 0;
transform: none;
}
.zan-swipe {
height: 100%;
}
}
}