-
Notifications
You must be signed in to change notification settings - Fork 0
/
skystar.html
49 lines (45 loc) · 1.19 KB
/
skystar.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>今晚,整片星空将为你一人闪烁</title>
<style>
#videofilm {
width: 100%;
height: auto;
position: fixed;
z-index: -1;
}
h1{
font-size: 36px;
color: #B1BCE6;
font-family: '楷体';
}
</style>
<link rel="stylesheet" href="css/skystar.css">
</head>
<body>
<video id="videofilm" poster="img/skystar2.jpg" autoplay muted loop>
<source src="video/skystar.mp4" type="video/mp4">
</video>
<div class="textone">
<h1>look at the stars</h1>
</div>
<div class="texttwo">
<h1>look how they shine for u</h1>
</div>
<div class="textthree">
<h1></h1>
</div>
<audio src="video/晴天.mp3" autoplay loop></audio>
<div class="container"></div>
<script src="js/skystar.js"></script>
<script>
window.onload = function() {
document.querySelector('video').muted = false;
}
</script>
</body>
</html>