我正在寻找关于如何设计圆形videojs洗刷按钮控件的建议。对于默认的css外观,我能想到的就是:
.video-js .vjs-play-progress:before {
font-size: 0.9em;
position: absolute;
right: -0.5em;
top: -0.3333333333em;
z-index: 1;
background-color:#eb882a; <- setting the color here
}
这会在圆形洗涤器滑块控件周围放置一个橙色方块,但不会更改圆形滑块洗涤器控件的颜色。
.video-js .vjs-play-progress {
background-color:#eb882a; <- setting the color here
}
仅在圆形擦洗器滑块控件之前更改进度线的颜色。
如何更改保持白色的圆形洗涤器控件本身的颜色?
发布于 2021-08-23 05:52:22
滑块手柄是图标字体中的字符,因此请使用color
而不是background-color
。
https://stackoverflow.com/questions/68882103
复制相似问题