视频播放背景

This commit is contained in:
禺狨 2023-04-25 10:02:09 +08:00
parent 244bf68c65
commit ed016ce0a2
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,5 @@
#root { #root {
width: 100%; width: 100%;
min-height: 900px;
margin: 0 auto; margin: 0 auto;
text-align: center; text-align: center;
background-color: #ffffff; background-color: #ffffff;

View File

@ -1,6 +1,6 @@
.video-mask { .video-mask {
width: 100%; width: 100%;
height: 100vh; height: 100%;
min-height: 100vh; min-height: 100vh;
background-color: #0e0e1e; background-color: #0e0e1e;
display: flex; display: flex;
@ -56,7 +56,8 @@
.video-box { .video-box {
width: 100%; width: 100%;
padding-bottom: calc(9 / 16 * 100%); // padding-bottom: calc(9 / 16 * 100%);
height: auto;
margin: 0 auto; margin: 0 auto;
border-radius: 8px; border-radius: 8px;
overflow: hidden; overflow: hidden;