-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (83 loc) · 1.55 KB
/
index.html
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bloomzen</title>
</head>
<body>
<div id="video-bg">
<video width="100%" height="auto" preload="auto" autoplay="autoplay" loop="loop" poster="background.png" muted>
<source src="footage.mp4" type="video/mp4"></source>
</video>
<div id="logo">
<img src="logo.png" alt="">
</div>
<!-- <div id="contacts">
<a href="tel:+79094317260">+7 (909) 431-72-60</a>
<a href="mailto:[email protected]">[email protected]
</a>
</div> -->
</div>
</body>
</html>
<style>
#video-bg {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
z-index: 1;
background: url(background.png) no-repeat;
background-size: cover;
}
#video-bg > video {
position: absolute;
top: 0;
left: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
}
@supports (object-fit: cover) {
#video-bg > video {
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
}
#logo {
z-index: 2;
position: absolute;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 25px;
box-sizing: border-box;
}
#logo > image {
width: 100%;
height: 100%;
}
#contacts {
z-index: 2;
position: absolute;
width: 100%;
height: 100%;
display: flex;
align-items: flex-end;
justify-content: flex-end;
padding: 25px;
box-sizing: border-box;
flex-direction: column;
}
#contacts a {
color: white;
}
</style>