0
我想在首页上看到一个全宽但不是全高的视频,但它不起作用。如果我设置高度,它总是缩小。html 5视频全宽,特殊高度
#video_startpage {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: -1000;
min-width:100%;
max-height:400px;
}
小提琴:https://jsfiddle.net/Lxz43sga/#&togetherjs=yrnrdNEaIu
只需设置'height'为'400px',而不是'MAX-height' – SidOfc
不会改变任何东西:( –
我只注意到检查小提琴的时候,我觉得'video'元素进行相应调整大小一个16:9的长宽比 – SidOfc