视频播放等比例浏览器

This commit is contained in:
禺狨 2023-04-23 09:55:24 +08:00
parent 071061f895
commit f2e6da5329
2 changed files with 8 additions and 8 deletions

View File

@ -50,7 +50,7 @@ body {
height: auto;
margin: 0 auto;
display: flex;
flex-direction: column
flex-direction: column;
}
h1 {
@ -291,7 +291,7 @@ h1 {
}
#meedu-player-container {
width: 1200px;
height: 675px;
float: left;
width: 100%;
height: auto;
position: relative;
}

View File

@ -42,7 +42,7 @@
}
}
.video-body {
width: 1200px;
width: 62.5%;
height: auto;
display: flex;
flex-direction: column;
@ -51,7 +51,7 @@
margin-top: 60px;
animation: scaleBig 0.3s;
.video-title {
width: 1200px;
width: 100%;
height: 36px;
font-size: 20px;
font-weight: 600;
@ -62,8 +62,8 @@
}
.video-box {
width: 1200px;
height: 675px;
width: 100%;
padding-bottom: calc(9 / 16 * 100%);
margin: 0 auto;
border-radius: 8px;
overflow: hidden;