-
Notifications
You must be signed in to change notification settings - Fork 2
/
shine.html
59 lines (56 loc) · 1.51 KB
/
shine.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<!--[if lte IE 9]><script src="select/selectivizr.js"></script><![endif]-->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" sizes="any" />
<link href="shine_assets/demo.css" rel="stylesheet" type="text/css" />
<title>
Shine Demo
</title>
<script type="text/javascript" src="shine_assets/shine.min.js">
</script>
<style>
body ::selection{
color: #FFFFFF;
background: #FF1493;
}
body {
background-color: #666;
}
</style>
</head>
<body>
<a href="index.html">
<font style="font-size:50px;color:white;text-shadow: 5px 5px 5px #FF0000;">
<b>
HOMEPAGE
</b>
</font>
</a>
<!--
HOMEPAGE Link Over
-->
<h1 id="headline" class="demo-text">
MyShadow
</h1>
<div class="footer-banner" style="width:728px; margin:700px auto 0">
</div>
<script type="text/javascript">
var shine = new Shine(document.getElementById('headline'));
function handleMouseMove(event) {
shine.light.position.x = event.clientX;
shine.light.position.y = event.clientY;
shine.draw();
}
window.addEventListener('mousemove', handleMouseMove, false);
</script>
<p>
<font style="font-size:20px;color:white;">
Copyright (C) yaozeye@foxmail.com
</font>
</p>
</body>
</html>