mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 11:56:15 -08:00
51 lines
723 B
CSS
51 lines
723 B
CSS
html, body, .container {
|
|
height: 100%;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.part-top {
|
|
display: flex;
|
|
height: 70%;
|
|
}
|
|
|
|
.part-bottom {
|
|
position: relative;
|
|
height: 30%;
|
|
}
|
|
|
|
.part-left {
|
|
width: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.part-right {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.part-left .artplayer {
|
|
width: 500px;
|
|
height: 500px;
|
|
background: #fff;
|
|
}
|
|
|
|
.part-right .preview {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 500px;
|
|
height: 500px;
|
|
background: #f3f3f3;
|
|
}
|
|
|
|
.part-right .preview img {
|
|
max-width: 100%;
|
|
} |