mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-09 06:24:10 +08:00
视频播放背景
This commit is contained in:
parent
244bf68c65
commit
ed016ce0a2
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user