-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex3.html
More file actions
48 lines (47 loc) · 1.52 KB
/
Copy pathindex3.html
File metadata and controls
48 lines (47 loc) · 1.52 KB
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
<!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>Document</title>
<style>
*{
padding: 0;margin: 0;box-sizing: border-box;
}
body{
cursor: none;overflow: hidden;
}
.container{
width: 100%;
height: 100%;
background: #000;
}
svg{
display: block;
width: 100%;
height: 100vh;
}
.cursor{
width: 10px;height: 10px;
background: #ddd;
border-radius: 50%;position: absolute;
top: 50%;left: 50%;transform: translate(-50%,-50%);
}
</style>
</head>
<body>
<div class="container">
<svg>
<line x1="0" x2="50%" y1="0" y2="50%" stroke="#ddd" stroke-width="1"/>
<line x1="100%" y1="0" x2="50%" y2="50%" stroke="#ddd" stroke-width="1" />
<line x1="0%" x2="50%" y1="100%" y2="50%" stroke="#ddd" stroke-width="1"/>
<line x1="100%" x2="50%" y1="100%" y2="50%" stroke="#ddd" stroke-width="1"/>
<line x1="50%" x2="50%" y1="0%" y2="50%" stroke="#ddd" stroke-width="1"/>
<line x1="50%" x2="50%" y1="100%" y2="50%" stroke="#ddd" stroke-width="1"/>
</svg>
</div>
<div class="cursor"></div>
<script src="js/script3.js"></script>
</body>
</html>