landingpage Video
parent
a28b020fc7
commit
036209e49d
|
@ -3,6 +3,23 @@
|
|||
<style>
|
||||
.landingPage {}
|
||||
|
||||
.shx-landingPage__video__element {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
max-height: 50vh;
|
||||
min-height: 50vh;
|
||||
}
|
||||
|
||||
.shx-landingPage__video {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.shx-landingPage__video {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
@ -20,6 +37,8 @@
|
|||
/* Shift the video to the left */
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.shx-landingPage__video__content {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
|
Loading…
Reference in New Issue