视频背景自动填充

This commit is contained in:
Bard 2023-05-13 04:11:12 +08:00 committed by GitHub
parent f0333f0ab0
commit 26e95de949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,8 +313,13 @@ hr {
overflow: hidden; overflow: hidden;
} }
.login-page .video video { .login-page .video video {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
object-fit: cover;
height: 100%;
width: 100%; width: 100%;
height: auto;
} }
.login-page .volume-control { .login-page .volume-control {
position: fixed; position: fixed;