开发者

How to change the slider style of audio::-webkit-media-controls-timeline using css?

We can reset -webkit-sli开发者_开发知识库der-thumb to change the style of range type input's slider, but the timeline-slider of element is not support to change its default(webkit) style.


This baffled me too, but it turns out the selector you need to style is:

  input[type="range"]::-webkit-slider-thumb {
    width: 5px;
    border-radius: 5px;
    background-color: #000;
  }

Check it out at http://jsfiddle.net/duopixel/q9GHA/.

Webkit seems to use an <input type="range"> inside audio::-webkit-media-controls-timeline as an interface to the timeline!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜