mirror of
https://github.com/youzan/vant.git
synced 2025-12-25 02:02:01 +08:00
[breaking change] rebuild style struct (#2021)
This commit is contained in:
23
packages/swipe-cell/index.less
Normal file
23
packages/swipe-cell/index.less
Normal file
@@ -0,0 +1,23 @@
|
||||
@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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user