/
index.html
78 lines (67 loc) · 1.34 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Video Background</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
body{
font-family: Calibri, sans-serif;
color: white;
}
.background-wrap{
position: fixed;
z-index: -1;
width: 100%;
height: 100%;
overflow: hidden;
top: 0;
left: 0;
}
#video-bg-elem {
position: absolute;
top: -380px;
left: 0;
min-height: 100%;
min-width: 100%;
}
.content{
position: absolute;
width: 100%;
min-height: 100%;
z-index: 1;
background-color: rgba(0,0,0,0.7);
}
.content h1{
text-align: center;
font-size: 65px;
text-transform: uppercase;
font-weight: bold;
color: #FFFFFF;
padding-top: 15%;
margin-bottom: 10px;
}
.content p{
text-align: center;
font-size: 20px;
letter-spacing: 3px;
color: #AAA;
margin: 30px 150px;
}
</style>
</head>
<body>
<div class="background-wrap">
<video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted">
<source src="video/galaxy.mp4" type="video/mp4">
</video>
</div>
<div class="content">
<h1>Galaxy Universe</h1>
<p>El universo es la suma de todo lo que existe con sus correspondientes leyes físicas; esto engloba al tiempo, al espacio, a la materia y a la energía, entre otras.</p>
</div>
</body>
</html>