init
This commit is contained in:
27
uni_modules/nutui-uni/components/swipe/index.scss
Normal file
27
uni_modules/nutui-uni/components/swipe/index.scss
Normal file
@@ -0,0 +1,27 @@
|
||||
.nut-swipe {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
|
||||
&__inner {
|
||||
position: relative;
|
||||
cursor: grab;
|
||||
transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
|
||||
}
|
||||
|
||||
&__left,
|
||||
&__right {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
&__left {
|
||||
left: 0;
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
}
|
||||
|
||||
&__right {
|
||||
right: 0;
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user