-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathindex.html
62 lines (51 loc) · 1.87 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<title>Control User Cursor</title>
<meta property="og:title" content="Control User Cursor" />
<meta
name="description"
content="Small experiment to 'control' the user cursor with JavaScript and CSS."
/>
<meta
property="og:description"
content="Small experiment to 'control' the user cursor with JavaScript and CSS."
/>
<meta name="twitter:card" content="summary_large_image" />
<link rel="canonical" href="https://javier.xyz/control-user-cursor" />
<meta property="og:url" content="https://javier.xyz/control-user-cursor" />
<meta
property="og:image"
content="https://javier.xyz/control-user-cursor/control-user-cursor.jpg"
/>
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="650" />
<link rel="stylesheet" href="/control-user-cursor/style.css" />
</head>
<body>
<div id="container"></div>
<div class="info">
<h1>Control User Cursor</h1>
<div class="info-description">
Small experiment to alter the cursor behavior.
<a
href="https://github.com/javierbyte/control-user-cursor"
class="-prevent-custom-cursor"
>
How it works?</a
>,
<a href="#" data-toggle-cursor class="-prevent-custom-cursor">
Show Real Cursor
</a>
</div>
<button data-new-random class="-prevent-custom-cursor">Random</button>
</div>
<img id="cursor" data-cursor />
<script src="/control-user-cursor/index.js"></script>
<script src="/control-user-cursor/setup.js"></script>
</body>
</html>