mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
35 lines
499 B
CSS
35 lines
499 B
CSS
@import './swipe.css';
|
|
|
|
.van-image-preview {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
|
|
&__image {
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
|
|
&--center {
|
|
width: 100%;
|
|
height: auto;
|
|
top: 50%;
|
|
transform: translate3d(0, -50%, 0);
|
|
}
|
|
}
|
|
|
|
.van-image-preview__image--big {
|
|
height: 100%;
|
|
width: auto;
|
|
left: 50%;
|
|
transform: translate3d(-50%, 0, 0);
|
|
}
|
|
|
|
.van-swipe {
|
|
height: 100%;
|
|
}
|
|
}
|