We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4d654 commit 628f8f6Copy full SHA for 628f8f6
_sass/critical/_video.scss
@@ -13,6 +13,12 @@
13
width: 100%;
14
height: 100%;
15
}
16
+
17
+ .touch-device &.hero-block {
18
+ background: url(../img/features/video-fallback.jpg);
19
+ background-position: center;
20
+ background-size: cover;
21
+ }
22
23
24
.video {
@@ -26,6 +32,10 @@
26
32
background-color: $pink;
27
33
object-fit: cover;
28
34
z-index: 0;
35
36
+ .touch-device & {
37
+ display: none;
38
29
39
30
40
31
41
.video-play-btn {
img/features/video-fallback.jpg
108 KB
0 commit comments