You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
452 B
30 lines
452 B
@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);
|
|
}
|
|
}
|