-
Notifications
You must be signed in to change notification settings - Fork 0
/
camquecague.html
51 lines (44 loc) · 1.13 KB
/
camquecague.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Página con imagen SVG centrada y fondo de cámara</title>
<style>
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
padding: 0;
overflow: hidden;
background: rgba(0, 0, 0, 0); /* Fondo transparente */
}
#video-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
#svg-container {
display: flex;
align-items: center;
justify-content: center;
}
#svg-container svg {
width: 300px;
height: 300px;
}
</style>
</head>
<body>
<video id="video-background" autoplay muted></video>
<div id="svg-container">
<img src="mira.svg"></img>
</div>
<script src="camera.js"></script>
</body>
</html>