landingpage Video
parent
d721e250cd
commit
b73577bf4d
|
@ -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%;
|
||||
|
|
Loading…
Reference in New Issue