仿互站小程序
This commit is contained in:
22
vant/swipe-cell/index.wxss
Normal file
22
vant/swipe-cell/index.wxss
Normal file
@@ -0,0 +1,22 @@
|
||||
@import "../area/index.wxss";
|
||||
|
||||
.van-swipe-cell {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.van-swipe-cell__left,.van-swipe-cell__right {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.van-swipe-cell__left {
|
||||
left: 0;
|
||||
transform: translate3d(-100%,0,0);
|
||||
}
|
||||
|
||||
.van-swipe-cell__right {
|
||||
right: 0;
|
||||
transform: translate3d(100%,0,0);
|
||||
}
|
Reference in New Issue
Block a user