我需要設置100%寬度視頻和500px高度。有沒有這個機會?我檢查了這個網站上的帖子,發現只有100%背景的代碼:100%寬度視頻和500px高度
#video_background {
position: fixed;
top: 0px;
left: 0px;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -1000;
background: url(assets/picture.jpg) no-repeat;
background-size: cover;
overflow: hidden;
}
不設置'寬度:100%;'和'高度:500像素;'作品? – 2015-04-06 02:01:39
我們可以看到您的HTML代碼嗎? – 2015-04-06 02:17:55