简体   繁体   中英

noUiSlider handle has two little vertical lines that don't disappear after styling

I have changed the style of handles of noUiSlider. I got the shape I wanted, narrow vertical lines. But I found the default shape of handles has double short lines and they don't disappear after I change the styling. You may see the double short lines under the handles. Could anyone help remove the double short lines in the default handles?

在此处输入图片说明

I just figured it out myself. Add below in CSS then the double lines in noUiSlider handles disappear.

.noUi-handle:before, noUi-handle:after {
display: none;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM