-
Notifications
You must be signed in to change notification settings - Fork 0
/
video.css~
52 lines (42 loc) · 981 Bytes
/
video.css~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
video#bgvid {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: 100hv;
z-index: -100;
-ms-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
background: url(http://unsplash.it/2560/1707?image=961) no-repeat;
background-size: cover;
}
*/
#vigo {
}
video#bgvid {
z-index: -100;
position:absolute;
height: auto;
width: 100%;
margin:0% auto;
padding:0%;
margin-top:-5%;
background-position:fixed;
}
@media screen and (max-device-width: 800px) {
.container-fluid {
background: url(https://unsplash.it/2560/1707?image=961) #000 no-repeat center center fixed;
}
#bgvid {
display: none;
}
}
video#bgvid {
transition: 1s opacity;
}
.stopfade { opacity: .5; }