Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
467 views
in Technique[技术] by (71.8m points)

css - How to change the surrounding color of a selected slider handle in ant-design?

slider handle

This is the codesandbox with some attempts to change that https://codesandbox.io/s/basic-antd4102-forked-jn0si?file=/index.css

I managed to change all other colors, but the blue color surrounding the circular handle cannot be changed, can any one give some help? Thank you very much !


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

enter image description here

For anyone who has the same problem, please try box-shadow

For example,
box-shadow: 0 0 0 5px fade(rgb(122, 122, 122),12%);


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...