landingpage Video

pull/4/head
Jan Umbach 2024-06-02 19:04:25 +02:00
parent d721e250cd
commit b73577bf4d
1 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
}
@media screen and (max-width: 768px) {
@@media screen and (max-width: 768px) {
.shx-landingPage__video {
position: relative;
width: 100%;
@ -32,12 +32,12 @@
/* Make the video twice as wide as the div */
height: 100%;
object-fit: cover;
transform: translateX(-50%);
/* Shift the video to the left */
transform: translateX(0);
/* Shift the video to the right */
}
}
.shx-landingPage__video__content {
position: absolute;
top: 50%;