landingpage Video

pull/4/head
Jan Umbach 2024-06-02 18:59:01 +02:00
parent 6a0fb74be9
commit a28b020fc7
1 changed files with 10 additions and 7 deletions

View File

@ -3,18 +3,21 @@
<style>
.landingPage {}
.shx-landingPage__video__element {
width: 100%;
height: 100%;
object-fit: cover;
max-height: 50vh;
}
.shx-landingPage__video {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
/* Hide the part of the video that's outside the div */
}
.shx-landingPage__video__element {
width: 200%;
/* Make the video twice as wide as the div */
height: 100%;
object-fit: cover;
transform: translateX(-50%);
/* Shift the video to the left */
}
.shx-landingPage__video__content {