[new feature] Slider: add vertical prop (#3078)

This commit is contained in:
neverland
2019-04-02 09:18:42 +08:00
committed by GitHub
parent ee5e49bda0
commit 7e9ca167fa
8 changed files with 151 additions and 11 deletions
+11
View File
@@ -39,4 +39,15 @@
&--disabled {
opacity: .3;
}
&--vertical {
height: 100%;
display: inline-block;
.van-slider__button-wrapper {
top: auto;
bottom: 0;
transform: translate3d(50%, 50%, 0);
}
}
}