jquery ui slider怎么修改样式
2 回答
翻过高山走不出你
TA贡献1875条经验 获得超3个赞
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | // 背景 QSlider::groove{ border: 1px solid #999999; height: 8px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4); margin: 2px 0; }
// 滑块 QSlider::handle{ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f); border: 1px solid #5c5c5c; width: 18px; margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */ border-radius: 3px; } |
- 2 回答
- 0 关注
- 327 浏览
添加回答
举报
0/150
提交
取消