vant/packages/swipe-cell/index.less

24 lines
313 B
Plaintext

@import '../style/var';
.van-swipe-cell {
overflow: hidden;
position: relative;
&__left,
&__right {
top: 0;
height: 100%;
position: absolute;
}
&__left {
left: 0;
transform: translate3d(-100%, 0, 0);
}
&__right {
right: 0;
transform: translate3d(100%, 0, 0);
}
}