mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
30 lines
452 B
Plaintext
30 lines
452 B
Plaintext
@import '../style/var';
|
|
|
|
.van-swipe-cell {
|
|
position: relative;
|
|
overflow: hidden;
|
|
cursor: grab;
|
|
|
|
&__wrapper {
|
|
transition-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1);
|
|
transition-property: transform;
|
|
}
|
|
|
|
&__left,
|
|
&__right {
|
|
position: absolute;
|
|
top: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
&__left {
|
|
left: 0;
|
|
transform: translate3d(-100%, 0, 0);
|
|
}
|
|
|
|
&__right {
|
|
right: 0;
|
|
transform: translate3d(100%, 0, 0);
|
|
}
|
|
}
|