Change jQuery UI slider size

走远了吗. 提交于 2019-12-23 02:19:38

问题


I am using this UI Slider and the size is the some on my site too (not the width but the button's size - demo the bottom of the page).- But here the slider button's size is much nicer, smaller - demo right hand side.

So how can I change the UI Slider button's size? OR How can I add other kind of button e.g. image?


回答1:


css from example page:

.ui-slider .ui-slider-handle {

    cursor: default;
    height: 1.2em;
    position: absolute;
    width: 1.2em;
    z-index: 2;
}



回答2:


For who is using vertical slider my problem solved by the following:

.ui-slider {
    position: relative;
}


来源:https://stackoverflow.com/questions/14997990/change-jquery-ui-slider-size

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!