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 {
|
.shx-landingPage__video {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -32,11 +32,11 @@
|
||||||
/* Make the video twice as wide as the div */
|
/* Make the video twice as wide as the div */
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
transform: translateX(-50%);
|
transform: translateX(0);
|
||||||
/* Shift the video to the left */
|
/* Shift the video to the right */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.shx-landingPage__video__content {
|
.shx-landingPage__video__content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in New Issue