Slider add new prop: marks

This commit is contained in:
梁灏 2019-09-17 10:46:22 +08:00
parent 9725f37580
commit 50b4334515
4 changed files with 91 additions and 98 deletions

View file

@ -65,9 +65,24 @@
position: absolute;
.square(@slider-height);
border-radius: 50%;
background-color: @slider-disabled-color;
background-color: #fff;
transform: translateX(-50%);
}
&-marks{
top: 0;
left: 12px;
width: 18px;
height: 100%;
&-item{
position: absolute;
transform: translateX(-50%);
font-size: @font-size-base;
color: @subsidiary-color;
margin-top: 15px;
}
}
}
.@{slider-prefix-cls}-disabled{