gpt4 book ai didi

javascript - videojs 全屏 css

转载 作者:行者123 更新时间:2023-11-28 07:50:58 25 4
gpt4 key购买 nike

你好我试图修复 css 那是全屏中唯一的问题因为 videojs 确实有全屏的 css 但我一直试图绕过宽度

对于主进度条,我使用以下内容

.vjs-cinematography-skin .vjs-progress-control {
border-style: solid;
border-width: 1px;
border-color: #666;
position: absolute;
left: 100px;
right: 0;
width: 55%;
font-size: 0.3em;
height: 2em;
/* Set above the rest of the controls. *///
top: 4em;

/* Shrink the bar slower than it grows. *///
.transition(all 0.4s);
}

但出于调试原因,我尝试使用全屏更改它,我添加了颜色

.vjs-cinematography-skin .vjs-progress-control .vjs-fullscreen .vjs-fullscreen-control div {
width: 100% !important;
background-color: #FFF !important;
}

但我已经尝试了很多方法我也不确定如何绕过 css 仅全屏

这是我的演示链接

http://muse4u.tv/dev/dist/demo.html

最佳答案

对于任何需要知道你可以像这样绕过 css 的人我花了一段时间才弄明白:)

.vjs-cinematography-skin.vjs-fullscreen .vjs-progress-control { width: 86% !important; }

关于javascript - videojs 全屏 css,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30419605/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com