mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-08 23:10:47 +08:00
视频播放等比例浏览器
This commit is contained in:
parent
071061f895
commit
f2e6da5329
@ -50,7 +50,7 @@ body {
|
|||||||
height: auto;
|
height: auto;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@ -291,7 +291,7 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#meedu-player-container {
|
#meedu-player-container {
|
||||||
width: 1200px;
|
width: 100%;
|
||||||
height: 675px;
|
height: auto;
|
||||||
float: left;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.video-body {
|
.video-body {
|
||||||
width: 1200px;
|
width: 62.5%;
|
||||||
height: auto;
|
height: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -51,7 +51,7 @@
|
|||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
animation: scaleBig 0.3s;
|
animation: scaleBig 0.3s;
|
||||||
.video-title {
|
.video-title {
|
||||||
width: 1200px;
|
width: 100%;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@ -62,8 +62,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.video-box {
|
.video-box {
|
||||||
width: 1200px;
|
width: 100%;
|
||||||
height: 675px;
|
padding-bottom: calc(9 / 16 * 100%);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user